[Overview][Classes][Index] |
Read a floating point value
Source position: inifiles.pp line 160
public function TCustomIniFile.ReadFloat( |
const Section: string; |
const Ident: string; |
Default: Double |
):Double; virtual; |
Section |
|
Section to read Ident from |
Ident |
|
Name of key to retrieve value from |
Default |
|
Default value to return when the key Ident does not exist. |
Value of Ident as a floating point value
ReadFloat reads the key Ident in section Section, and returns the value as a float (Double). If the specified key or section do not exist, then the value in Default is returned. If the key exists, but contains an invalid float value, Default is also returned. The international settings of the SysUtils are taken into account when deciding if the read value is a correct float.
|
Write a floating-point value |
|
|
Read an integer value from the file |
|
|
||
|
Read a date value |
|
|
Read a Date/Time value |
|
|
Read a time value |
|
|
Read a string valued key |
|
|
Read binary data |