Torbjörn Lager wrote:
If you get the kid of errors that I think you get, you probably need to
call {Wait X} att appropriate places, which will suspend the thread
until the variable X is determined.
To be a bit more explicit: let the grid drawer and the manipulator side
share a variable, say Done. On the drawing side, you should have
something like (in the same thread)
... % statements that draw the grid
Done=unit % bind the variable
On the other side, wait on Done before you choose the cell:
{Wait Done}
... % here you choose the cell
Cheers,
raph
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users