Initial revision

This commit is contained in:
cvs
2000-02-07 10:38:55 +00:00
commit fdc6b051c9
846 changed files with 230218 additions and 0 deletions

20
transact.tcl Normal file
View File

@@ -0,0 +1,20 @@
#----------------------------------------------------------------------------
# This implements a little command which just sets marks in the output
# stream. This is for experimenting with client communications schemes.
#
# Mark Koennecke, May 1999
#-----------------------------------------------------------------------------
proc transact { key } {
set keyy [string tolower $key]
if {[string compare $keyy "start"] == 0 } {
ClientPut "TRANSACTSTART"
return
}
if {[string compare $keyy "end"] == 0 } {
ClientPut "TRANSACTEND"
return
}
ClientPut "ERROR: Transact understands only start and end"
return;
}