home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
dirs
/
tcl_447.lzh
/
TCL
/
tcl.lzh
/
tcl
/
help
/
eventloop
< prev
next >
Wrap
Text File
|
1990-05-03
|
692b
|
17 lines
'eventloop'
When your Tcl program executes "eventloop", it will then enter the
eventloop. This loop receives Intuition messages and commands from
other Tcl programs and processes them.
Only when a program is executing 'eventloop' can it receive, process
and reply to commands sent from other Tcl programs. If you send a
message to a Tcl program that isn't executing 'eventloop', you will
hang until it does and receives and processes your message. Asynchronous
messages sent by the "post" command will not cause the sender to hang.
The command 'endeventloop' ends the event loop. If program foo is
executing eventloop, doing a 'send foo endeventloop' will cause it
to exit the loop.