Process'ing

Steven Elkins sgelkins at nortelnetworks.com
Tue Feb 1 19:20:24 UTC 2000


John Clonts wrote:
> 
> I'm expecting the following code to print on the Transcript until i
> change the inspected Valueholder to hold false.  But nothing at all
> shows on the transcript.
> 
> | f |
> f := ValueHolder new contents: true. f inspect.
> [ [ f contents ] whileTrue:
>         [ Transcript show: 'working' ;cr ] ]
>         forkAt: Processor userBackgroundPriority.

I see what I think you expect, i.e., lots of 'working' going by in the
Transcript until I make f's contents false, when it stops.  This is in a
2.8alpha image with updates through 1789.

Steve





More information about the Squeak-dev mailing list