Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tok explanations
#3
hmmm, i've got problem to get this in my mind

pointers base array should be ARRAY(lpstr*) b no???

How does the magic happen that str s1 s2 s3 becomes a pointer base array?

You only pass reference (i suppose it's memory address) of s1 (which is not a pointer) to tok function, and it can fill s2 and s3 based on n=3???

and why this is supposed to be faster than using lpstr array,

ARRAY(lpstr) a
tok _s &a -1 " " 1


Wouaa Gintaras, it burns my brain!!!!


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)