ReadPreferenceQuad()

Syntax

Result.q = ReadPreferenceQuad(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 a quad number. if the key isn't found the default value is returned.

Example

See the example at ReadPreferenceDouble()

See Also

ReadPreferenceDouble(), ReadPreferenceFloat(), ReadPreferenceInteger(), ReadPreferenceLong(), ReadPreferenceString()

Supported OS

All

<- ReadPreferenceLong() - Preference Index - ReadPreferenceString() ->