Its easy enough to load/save script settings as some form of serialization on an array, but what if we want to conform to Gtk+ standards and save settings as an *.ini file? The following script shows how this can be done. #--------------- # test-keyfile.tcl #--------------- # William J Giddings, 19/05/2012 #--------------- #!/bin/sh #\ exec tclsh "$0" "$@" package require Gnocl #--------------- # manipulate application preferences #--------------- # preferences stored in global two-dimensional array name "prefs" # array names are equivalent to the group/key pairings required for keyFile #--------------- # args # cmd one of load, edit, save # keyfile name of keyfile to load/save, ignored for edit # returns # none #--------------- proc preferences {cmd {keyFile {} } } { global prefs switch $cmd { load { set kf [gnoc...