home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Practical Programming in Tcl & Tk (4th Edition)
/
TCLBOOK4.BIN
/
pc
/
exsource.old
/
5_3.tcl
< prev
next >
Wrap
Text File
|
2003-04-15
|
158b
|
14 lines
#
# Example 5-3
# Using lset to set an element of a list.
#
lset new "a b c"
#=> a b c
lset new 1 "d e"
#=> a {d e} c
lset new 1 0 "g h"
#=> a {{g h} e} c