This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Save settings

Old posts that have not been replied to for several years.
Locked
g
greyhound
Voice
Posts: 12
Joined: Sat Feb 02, 2002 8:00 pm
Location: Sweden
Contact:

Post by greyhound »

How do i get my scripts to save the settings i use in my scripts so it don't resets when i do a .rehash??
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

Store all your settings in a file and read them on rehash. Go to http://www.scriptics.com/man/tcl8.3/TclCmd/contents.htm and read up on 'read', 'puts', and 'file.
Locked