Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tok explanations
#11
ok, but i still don't get how tok function (assuming 3 tokens to find)

fills s1 s2 s3 str variables given only address of s1 by reference..must be stupid but really can't understand this. I can understand with array(str)
as it points to the first element of the array.

str s="zero one two"
str s1 s2 s3
int n=tok(s &s1 3)
out s1
out s2
out s3

this is a mystery of inner QM managment of the tok function...


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)