ReadPreferenceString()

Syntax

Result$ = ReadPreferenceString(Keyword$, DefaultValue)
Description
Try to read the specified associated 'Keyword$' value. If PreferenceGroup() has been used, then the search is restricted to the current group. If the 'Keyword$' isn't found or the preference file haven't been opened correctly (file missing for example) the specified default value is returned.

To read keyword values directly as variable types the following commands can be used:

ReadPreferenceDouble()
ReadPreferenceFloat()
ReadPreferenceLong()
ReadPreferenceQuad()

Supported OS

Windows, Linux, MacOS X

<- ReadPreferenceQuad() - Preference Index - RemovePreferenceGroup() ->