Returns the current token as an integer.
Source position: classesh.inc line 2212
public function TParser.TokenInt: Int64; |
If current token type is toInteger, this method returns the token value as an integer.
In the input stream an integer can be an hexadecimal (prefixed by '$' character) or decimal number. Decimal numbers can be prefixed by an unary minus: if this is the case, no space must exist between minus and number.
If Token isn't toInteger, an EConvertError exception is raised.
|
Reads the next token and returns its type. |
|
|
The type of the current token. |
|
|
Value returned by TParser.Token when an integer was found in the input stream. |