Retrieves an integer from the specified key name in the given section of the file.
vGetProfileInt = INIFile.GetProfileInt (AppName as String, KeyName as String, Default as Long, [FileName as String])
| Where | Type | Optional | Default | Description |
|---|---|---|---|---|
| AppName | String | Specifies the section containing the key. | ||
| KeyName | String | The key name whose associated string is to be retrieved. | ||
| Default | Long | Default value. | ||
| FileName | String | yes | If omited, the method looks in given section of the WIN.INI file. |
Long
GetProfileInt, GetProfileString, WriteProfileInt, WriteProfileString
Enables read and write specified values into the INI files.
© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz