type question

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu