home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Practical Programming in Tcl & Tk (4th Edition)
/
TCLBOOK4.BIN
/
mac
/
exsource.old
/
21_18.tcl
< prev
next >
Wrap
Text File
|
2003-04-15
|
308b
|
15 lines
#
# Example 21-18
# Storing Data in a Starkit.
#
package require starkit
starkit::startup
mk::file open self $argv0
mk::view layout self.audit {action timestamp:I}
mk::row append self.audit "Run as pid [pid]" [clock seconds]
puts "$argv0 has been run [mk::view size self.audit] times"
mk::file close self