TCustomIniFile.ReadBool function
Declaration
function ReadBool(const Section: string; const Ident: string;
Default: Boolean): Boolean; virtualArguments
Section | Section to read
|
Ident | Name of key to retrieve value from. |
Default | Default value to return when the key
|
Function result
Value of
Ident as a boolean.
Description
ReadString reads the key
Ident in section
Section,
and returns the value as a boolean (valid values are 0 and 1). If the specified key
or section do not exist, then the value in
Default is returned. If the key
exists, but contains an invalid integer value,
False is also returned.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
