Skip to content

TCustomIniFile.ReadInt64

Read an Int64 value.

Declaration

Source position: inifiles.pp line 187

public 
function TCustomIniFile.ReadInt64(const Section: string; 
                                 const Ident: string; Default: Int64)
                                  : Int64;  virtual;

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

Name Description
TCustomIniFile.ReadInteger Read an integer value from the file.
TCustomIniFile.WriteInt64 Write an Int64 value.