Converts a string that represents an integer (decimal or hex notation) to a number.
function StrToInt(const S: string): Integer;
int StrToInt(const AnsiString S);
SysUtils
StrToInt converts the string S, which represents an integer-type number in either decimal or hexadecimal notation, into a number. If S does not represent a valid number, StrToInt raises an EConvertError exception.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|