Hi,
ive wrote a DLL for mirc, the problem is, it returns a long string, so that i have to use a binvar. But how do i do it?
The string looks like this:
string1;string2;string3...and so on.
so theyr seperated by ";".
How can i loop the string until theres no ";" anymore with a binvar?
i want to have it like this:
&binvar = $dll(my.dll, proc, params)
while ($pos(&binvar, ;) != 0) {
echo -a $read(&binvar, 1, Pos(&binvar, ;)-1)
delete &binvar 1 $pos(&binvar, ;)
}
In words i want this:
- Get the long string from the DLL
- Loop it until theres no ";" anymore
--- echo string until ";" -1
--- delete string until ";"
How do i do that?