TJSONIniFile.ReadInt64 function
Reads a 64-bit integer value from the JSON ini file
Declaration
function ReadInt64(const Section: string; const Ident: string;
Default: Int64): Int64; overrideArguments
Section | The section name to read from |
Ident | The key name to read |
Default | Default value to return if key not found or conversion failed |
Function result
The Int64 value or default if key not found or conversion failed
Description
ReadInt64 reads a 64-bit integer value from the specified section and key.
If the stored value is a JSON number, it is converted to
Int64.
If the stored value is a string, it attempts to parse it as a 64-bit integer.
If the key is not found or conversion fails, the
Default value is returned.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
