Computer Science Canada

Help with strintok

Author:  ZeroKelvin [ Thu May 08, 2003 6:23 pm ]
Post subject:  Help with strintok

wut exactly does strintok do?
how is it used?
(in simple terms, that's why i don't want to read the toutorial thingy)

Author:  Tony [ Thu May 08, 2003 6:42 pm ]
Post subject: 

same parameters as for strint, but it returns true if it can change string to integer. So your program doesnt crash if you enter say 'a' and try to convert that to an integer

Author:  ZeroKelvin [ Thu May 08, 2003 6:49 pm ]
Post subject: 

i see ... thanx Smile

Author:  Delta [ Fri May 09, 2003 8:48 am ]
Post subject: 

yeah it's simple.

var num : string
var number : int

get num
number := strint (num)
put number

this will print the integer as a string


: