Lego Mindstorm and Squeak

Bob Arning arning at charm.net
Fri Mar 29 18:43:15 UTC 2002


On Fri, 29 Mar 2002 10:10:39 -0800 Ned Konz <ned at bike-nomad.com> wrote:
>On Friday 29 March 2002 10:02 am, Ned Konz wrote:
>
>> "Foreground process"
>>
>> [
>> 	queue size > 0 ifTrue: [ Transcript show: queue next ].
>> 	World doOneCycle.
>> ] repeat.
>
>er, make that 
>
> 	queue size > 0 whileTrue: [ Transcript show: queue next ].

er, make that 

 	[queue size > 0] whileTrue: [ Transcript show: queue next ].

Cheers,
Bob



More information about the Squeak-dev mailing list