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] < ml-node+s1294792n3838776h45@n4.nabble.com> 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] http://user/SendEmail.jtp?type=node&node=3838776&i=0 https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list [hidden email] http://user/SendEmail.jtp?type=node&node=3838776&i=1 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 ml-node+s1294792n1310756h25@n4.nabble.com To unsubscribe from Moose, click herehttp://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1310756&code=amxlYW5kcm8ubWFydGluc0BnbWFpbC5jb218MTMxMDc1NnwtMTA2ODQ0ODY4OA==.
-- View this message in context: http://forum.world.st/Re-Sytax-or-what-tp3843592p3843592.html Sent from the Moose mailing list archive at Nabble.com.