Persistent preferences
Persistent Preferences let you store data that is not lost when the application closes. This information is saved to a configuration file stored locally called preferences.cfg.

This is a text file which can be edited to change persistent values. It's in the format of a typical configuration file. All values are stored as strings.


For example


The Cryptic_TextEdit control has this as a property you can set in the IDE. These values are loaded into the textfield if they are in the configuration file, and any changes are written back out.

Please note: These features cannot be reliably used in a thread, you may get conflicts when updating the .cfg file.
You can manually in code set and retrieve these values. For example



Var name as string=preferences.getkey("NAME")