Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Commands Interpreted out of order

0 views
Skip to first unread message

Jeffrey N. Moss

unread,
Aug 25, 1994, 4:07:12 PM8/25/94
to
I have a TCL/Tk script that executes another TCL/TK script
and then receives messages from it via "send". What is supposed
happen is:

1) text gets written to the 1st app's status bar
2) the 2nd app logs messages to the 1st app's text widget
3) text gets written to the 1st app's status bar again

If I put the status bar update commands in the same
procedure as the exec command for the 2nd app, I get a
pause, and then everything happens at once instead of
giving the feel of processing and message logging, which
is the goal:

...
update_status_bar "starting"
exec app2
update_ststus_bar "finished"
...

If I move the status bar update commands to the exec'd script,
everything happens sequentially and over time.

What is holding up the output to app1 when the script is
coded the 1st way?

--
MOSS,JEFFREY N --- Research Scientist -- jm...@prism.gatech.edu
Information Technology & Telecommunications Lab
Georgia Tech Research Institute
Georgia Institute of Technology, Atlanta Georgia, 30332

0 new messages