WritePreferenceLong()

Syntax

WritePreferenceLong(Key$, Value)
Description
Creates or changes the specified key and its associated long value under the form: 'Key$ = Value' in the preference file, previously created with CreatePreferences() or opened with OpenPreferences().

Parameters

Key$ The key name to write. If PreferenceGroup() has been used, then the write is restricted to the current group. If the key was already created, its associated value is replaced with the new specified value.
Value The long value to associate with the key.

Return value

None.

Example

See the example at WritePreferenceFloat()

See Also

WritePreferenceFloat(), WritePreferenceDouble(), WritePreferenceInteger(), WritePreferenceQuad(), WritePreferenceString()

Supported OS

All

<- WritePreferenceInteger() - Preference Index - WritePreferenceQuad() ->