The Tcl preference file management library module has the file name prefs.tcl. This module contains procedures that read and write preference files
A preference file is a Tcl source code file containing only set commands. These files are loaded into a running Tcl program using the source command.
Here is a list of procedures in this module:
No other modules are required in order to use this module
This module requires no definition files.
Declaration : proc prefsave {filename arrayname} Parameters : Name : filename Type : string Description : preference path/file name Name : arrayname Type : array Description : array name Returns : 1 upon success, 0 otherwise
This procedure will write the array name contents to the preference path/file name.
Declaration : proc prefload {filename} Parameters : Name : filename Type : string Description : preference path/file name Returns : 1 upon success, 0 otherwise
This procedure will load the preference path/file name.