type question
- Posted by gertie at visionsix.com Feb 09, 2003
- 364 views
problem: gettok(string,"3",32) what type is "3" ? Sequence, yeas? global function gettok(sequence text, object n, object separator) fails the integer(n) test junk = n[1] -- junk = 51 fails the sequence(n) test fails the sequence(n[1]) test can be subdivided into n[1] passes the atom(n) test -- = 51 debug says n={51-3} -- sequence debug says junk = 51 -- atom What happened to the "3" in n ? It is acting like i used a '3' ! Kat