Well, so I will go change the form of my code
|i|
i:=5.
[i >0] whileTrue:[
Transcript show: ((i*2) asString) ; cr.
i:=i-1.
].
Why this doesn't work too? I only receive a "Nothing more expected" when I try to execute it.
There is a bug in Beeper and the default sound primitive
stef
On Sep 24, 2011, at 2:49 AM, Júlio Martins wrote:
> I don't know why this simple code don't work in Moose/Smaltalk version 4.5
>
> | counter |
> counter := 0.
> [ counter < 100 ] whileTrue:
> [ counter := counter + 1.
> Beeper beep ]
>
> I believe the sytax is correct, but when I try to excute this an error message is sent.
> Doesn't exist while loop?
>
> I don't undesrtand what's happening.
>> View this message in context: Sytax or what?> [hidden email]
> Sent from the Moose mailing list archive at Nabble.com.
> _______________________________________________
> Moose-dev mailing list
_______________________________________________
Moose-dev mailing list
[hidden email]If you reply to this email, your message will be added to the discussion below:http://forum.world.st/Sytax-or-what-tp3838424p3838776.html