Waiting
Torbjörn Lager
lager at ling.gu.se
Thu Apr 13 16:38:26 CEST 2006
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.
Regards,
Torbjörn
Alan Oswald wrote:
> Here we go again! Many thanks to all who answered my request for
> information about random numbers. I now have another query. I have a
> program that generates a rectangular grid some of which are coloured
> black and some of which are coloured white. When the grid is
> generated, I want to choose one of the black ones and manipulate it in
> a certain way. The problem I have is that the program tries to choose
> the cell before the cells are coloured. I need to know how to make
> the program wait until after the grid is drawn and coloured before
> selecting the cell to manipulate. I'm sure this is easy but I don't
> seem to get it to work. I either get a cell before the colouring is
> completed or nothing or an error telling me there is a missing } at
> line2 col 0.
>
> I know you people will know the answer to this and I'm sure it's
> somewhere in the documentation but I'm unable to find it.
>
> Alan
>
>------------------------------------------------------------------------
>
>_________________________________________________________________________________
>mozart-users mailing list mozart-users at ps.uni-sb.de
>http://www.mozart-oz.org/mailman/listinfo/mozart-users
>
>
More information about the mozart-users
mailing list