Phantom Documentation

[Help Home] [Phantom Home]
StrToInt

int StrToInt(string)

Return Type: int
Parameters: string iString

Description:
This function attempts to convert a string to an integer. An error will occur if the string is not an integer.

Example Code
1 >>string s = "42";
2 >>int i = StrToInt(s);
3 >>disp(i);
42


 


Copyright 2000-2011 Phantom Automated Solutions