I can execute this snippet without a problem. I tried on Pharo 1.4 and 1.3.
Cheers,
Alexandre
On 26 Sep 2011, at 09:29, Júlio Martins wrote:
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.
Em 24 de setembro de 2011 02:58, Stéphane Ducasse [via Smalltalk] <[hidden email]>
escreveu:
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?
Sent from the Moose mailing list archive at
Nabble.com.
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
If you reply to this email, your message will be added to the discussion below:
http://forum.world.st/Sytax-or-what-tp3838424p3838776.html
To start a new topic under Moose, email [hidden email]
To unsubscribe from Moose, click here.
View this message in context: Re: Sytax or what?
Sent from the Moose mailing list archive at
Nabble.com.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.