Sign in Join
FPDoc Onlineexperiment

TCustomIniFile.ReadInt64 function

Member of TCustomIniFilepublicIn unit IniFiles

Read an Int64 value.

Declaration

pascal
function ReadInt64(const Section: string; const Ident: string; 
 Default: Int64): Int64; virtual

Arguments

Section

Section to search the value in.

Ident

Key for the value in the specified section.

Default

Default value if no valid value was found.

Function result

The value found at the specified location, or the default value.

Description

ReadInt64 reads a signed 64-bit integer value from the ini file. The value is searched in the Section section, with key Ident.

If the value is not found at the specified Section, Ident pair, or the value is not a Int64 value then the Default value is returned instead.

This function is needed because ReadInteger reads at most a 32-bit value.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.