home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Practical Programming in Tcl & Tk (4th Edition)
/
TCLBOOK4.BIN
/
mac
/
exsource.old
/
9_9.tcl
< prev
next >
Wrap
Text File
|
2003-04-15
|
132b
|
12 lines
#
# Example 9-9
# A read loop using read and split.
#
foreach line [split [read $channel] \n] {
# Process line
}
close $channel