TParser.TokenInt function
Returns the current token as an integer.
Declaration
function TokenInt: Int64Description
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.
Errors
If Token isn't toInteger, an EConvertError exception is raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
