Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open Recent
#10
Recently executed macros are not stored in the registry.

--------

A multistring is a string consisting of several strings separated by 1 null and ends with 2 nulls, like this:

"string1[0]string2[0]string3[0]"

To go to the next string, add len(currentstring)+1.

Macro
Code:
Copy      Help
lpstr s="string1[0]string2[0]string3[0]"

rep
,if(!s[0]) break
,out s
,s+len(s)+1

another example
Macro
Code:
Copy      Help
str multistring.fromn("string1" 8 "string2" 8 "string3" 8)

lpstr s(multistring) se(multistring+multistring.len)
rep
,if(s>=se) break
,out s
,s+len(s)+1


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)