They all seem to. Strings passed from VB can be manipulated, parsed into arrays and sorted.PB String functions cannot cope with Unicode either.
Search found 31 matches
- Mon Oct 11, 2004 9:45 am
- Forum: Coding Questions
- Topic: passing strings
- Replies: 23
- Views: 5187
- Sun Oct 10, 2004 4:31 pm
- Forum: Coding Questions
- Topic: passing strings
- Replies: 23
- Views: 5187
- Sun Oct 10, 2004 1:41 pm
- Forum: Coding Questions
- Topic: passing strings
- Replies: 23
- Views: 5187
- Sun Oct 10, 2004 9:19 am
- Forum: Coding Questions
- Topic: passing strings
- Replies: 23
- Views: 5187
- Sat Oct 09, 2004 10:37 pm
- Forum: Coding Questions
- Topic: passing strings
- Replies: 23
- Views: 5187
- Sat Oct 09, 2004 9:46 pm
- Forum: Coding Questions
- Topic: passing strings
- Replies: 23
- Views: 5187
- Sat Oct 09, 2004 8:40 pm
- Forum: Coding Questions
- Topic: passing strings
- Replies: 23
- Views: 5187
Thanks wilbert, I'll play with that.
I want to be able to pass a pointer to a string from VB and manipulate it in PB.
The actual code would be more like:
Thanks again
I want to be able to pass a pointer to a string from VB and manipulate it in PB.
The actual code would be more like:
Code: Select all
ProcedureDLL ManipulateString(PtrString.l)
a$=""
! pushd [v_PtrString]
! popd [v_a$]
- Sat Oct 09, 2004 6:01 pm
- Forum: Coding Questions
- Topic: passing strings
- Replies: 23
- Views: 5187
Maybe I was a little premature. PeekS creates a new string, I am after a way to get a string variable for the same string.
e.g.
Thanks
e.g.
Code: Select all
b$=PeekS(PtrString)
;Creates a new string
;I need something like
b$=""
;Then point b$ at PtrString
- Sat Oct 09, 2004 5:49 pm
- Forum: Coding Questions
- Topic: passing strings
- Replies: 23
- Views: 5187
- Sat Oct 09, 2004 5:25 pm
- Forum: Coding Questions
- Topic: passing strings
- Replies: 23
- Views: 5187
passing strings
Hello
I was wondering how to get a pointer to a string into a string variable so that I can use string functions on it e.g.
Many thanks
I was wondering how to get a pointer to a string into a string variable so that I can use string functions on it e.g.
Code: Select all
Procedure AmendString(PtrToString.l)
;I appreciate this isn't valid but how do you assign pointer to string
String.s=PtrToString
- Fri Oct 08, 2004 10:17 am
- Forum: Coding Questions
- Topic: Inserting text in strings
- Replies: 19
- Views: 4201
- Thu Oct 07, 2004 10:00 pm
- Forum: Coding Questions
- Topic: Inserting text in strings
- Replies: 19
- Views: 4201
- Thu Oct 07, 2004 9:29 am
- Forum: Coding Questions
- Topic: Inserting text in strings
- Replies: 19
- Views: 4201
- Wed Oct 06, 2004 11:29 pm
- Forum: Coding Questions
- Topic: Inserting text in strings
- Replies: 19
- Views: 4201
- Wed Oct 06, 2004 7:29 pm
- Forum: Coding Questions
- Topic: Inserting text in strings
- Replies: 19
- Views: 4201
Thanks for the info wilbert.
I assume that you mean the working buffer space? If so how do you increase it?
I have used the following:
Which is fine for my needs as I am only need to find strings of <100 characters.
I assume that you mean the working buffer space? If so how do you increase it?
I have used the following:
Code: Select all
ProcedureDLL.l SortString(Str.s)
x$=mid(Str,300000,10)
debug x$