PureBasic - Preference

Overview

Preference file contains user defined program parameters stored on the disk and read back when the program start again (like '.INI' files under Windows for example). PureBasic offers the possibility to create heriarchical preference file easily useable on any computer plateforms. The file format is in ascii with one preference per line, using the 'Keyword=Value' syntax. Groups can be created for better reading.

Command Index

ClosePreferences
CreatePreferences
OpenPreferences
PreferenceComment
PreferenceGroup
ReadPreferenceFloat
ReadPreferenceLong
ReadPreferenceString
WritePreferenceFloat
WritePreferenceLong
WritePreferenceString

Example

Preference.pb

Supported OS

Windows, Linux, MacOS X

Reference Manual - Index