Lego Mindstorm and Squeak
Bergel Alexandre
bergel at iam.unibe.ch
Sat Mar 30 15:16:48 UTC 2002
Thanks Ned for your answer,
But I have done something similar (cf RCXSerialPortReader class) I guess.
I really do not understand why I have a different behavior if I use a VM with O_NONBLOCK ?
Thank you,
Alexandre
On Fri, Mar 29, 2002 at 10:10:39AM -0800, Ned Konz 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 ].
>
> --
> Ned Konz
> currently: Stanwood, WA
> email: ned at bike-nomad.com
> homepage: http://bike-nomad.com
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._
Bergel Alexandre http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^
More information about the Squeak-dev
mailing list
|