ReadPreferenceInteger()
Syntax
Result = ReadPreferenceInteger(Key$, DefaultValue)Description
Try to read the specified associated 'Key$' value.
Parameters
Key$ The key to read the value from. If PreferenceGroup() has been used, then the search is restricted to the current group. DefaultValue The default value to return if the key isn't found or the preference file haven't been opened correctly (file missing for example).
Return value
The value associated to the specified key, as an integer number. if the key isn't found the default value is returned.
Example
See the example at ReadPreferenceDouble()
See Also
ReadPreferenceDouble(), ReadPreferenceFloat(), ReadPreferenceLong(), ReadPreferenceQuad(), ReadPreferenceString()
Supported OS
All