home *** CD-ROM | disk | FTP | other *** search
-
- The send command allows you to send a command to another Tcl program.
-
- Usage is 'send programname message...'
-
- If programname is the name of a program (the filename of the program when
- it's started) that has called TclaInitPort, your message will be queued
- to a message port belonging to the other program, and your program will
- wait for that program to reply with a reply message for your program.
-
- Note that this command fully preserves Tcl semantics, that is, if the
- remote program returns an error, you get an error back (which kills
- your command unless you trap it), etc, etc, which is to say that a
- 'send bar format "x%sz" "y"' should work exactly the same to your
- program (assuming bar exists and is running, etc.) as if you had
- executed 'format "x%sz" "y"'.
-
-