Purpose: document tools and techniques for creating persistent state in Tcl and Tk applications. By persistent state, I mean the ability to have a Tcl/Tk application , at start up, initialize all its variables, widgets, etc. to the value they had at the time of last termination. This will require the storing of variables in a form they can be reset, recognizing all widgets, their configs and values, etc. * plain variables * arrays * handles (what to do about open file handles, etc.?) * procs (defined, renamed, etc.) * interps * threads * widgets ---- [Metakit] is one tool. ---- Relational databases (postgresql, for example) do a good job of keeping track of state. They have been perfected for just such a task...