Help with strintok
Author |
Message |
ZeroKelvin
|
Posted: 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) |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Tony
|
Posted: Thu May 08, 2003 6:42 pm Post subject: (No 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 |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
ZeroKelvin
|
Posted: Thu May 08, 2003 6:49 pm Post subject: (No subject) |
|
|
i see ... thanx |
|
|
|
|
|
Delta
|
Posted: Fri May 09, 2003 8:48 am Post subject: (No 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 |
|
|
|
|
|
|
|