
-----------------------------------
Paul
Tue Feb 10, 2004 5:07 pm

String or Int?
-----------------------------------
Does anyone know a easy way to check if a variable value is a string or int?

-----------------------------------
Dan
Tue Feb 10, 2004 5:34 pm


-----------------------------------
use strintok 

Ex.

var num:string

put "input a string: "
get num

if strintok(num) then
put "is a nummber"
else
put "is a string"
end if


-----------------------------------
Paul
Tue Feb 10, 2004 5:42 pm


-----------------------------------
Thanks for your help, with that I guess there's no need for a intstrok or strrealok.  :lol:
