TryStrToInt64 function
Try to convert a string to an int64 value, and report on success.
Declaration
function TryStrToInt64(const s: string; out i: Int64): BooleanDescription
TryStrToInt64 tries to convert the string
S to a Int64 value, and
returns this value in
I if successful. If the conversion was
successful, the function result is
True, or
False
otherwise.
The string can only contain numerical characters, and
optionally a minus sign as the first character. Whitespace is not allowed.
Hexadecimal values (starting with the $ character) are supported.
Errors
None. On error,
False is returned.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
