CreatePreferences()
Syntax
Result = CreatePreferences(FileName$)
Description
Creates a new empty preference file. If the file already exists, the file is erased. If 'Result' is 0 then the file can't be created. Once the file has been created successfully, the following commands can be used to write data: WritePreferenceString(), WritePreferenceLong(), WritePreferenceFloat(), PreferenceGroup() and PreferenceComment().
Once all write operations have been done, ClosePreference() is used to close effectively the preference file.
Supported OS
Windows, Linux