CONTENTS DELETED
The author has deleted this message.
|
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 > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Me too, maybe you are not selecting the code.
On Mon, Sep 26, 2011 at 2:40 PM, Alexandre Bergel <[hidden email]> wrote: I can execute this snippet without a problem. I tried on Pharo 1.4 and 1.3. -- Andre Hora _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by abergel
CONTENTS DELETED
The author has deleted this message.
|
just copy and paste it in workspace
select everything and do it. And it should work Moose has nothing special to do with a possible bug. It works also when putting spaces |i| i := 5. [ i >0 ] whileTrue:[ Transcript show: ((i*2) asString) ; cr. i := i - 1. ]. On Sep 26, 2011, at 2:48 PM, Jùlio wrote: > That's is strange! > I can't to execute this on environment that I am using (or I am not knowing how to do right). I am using Moose Suite 4.5. > > > Em 26 de setembro de 2011 09:40, Alexandre Bergel <[hidden email]> escreveu: > 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 > > [hidden email] > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > _______________________________________________ > 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 _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Of course, you should have the transcript open (cmd-t)
Alexandre On 26 Sep 2011, at 15:34, Stéphane Ducasse wrote: > just copy and paste it in workspace > select everything and do it. > And it should work > Moose has nothing special to do with a possible bug. > > It works also when putting spaces > > |i| > i := 5. > [ i >0 ] whileTrue:[ > Transcript show: ((i*2) asString) ; cr. > i := i - 1. > ]. > > > > On Sep 26, 2011, at 2:48 PM, Jùlio wrote: > >> That's is strange! >> I can't to execute this on environment that I am using (or I am not knowing how to do right). I am using Moose Suite 4.5. >> >> >> Em 26 de setembro de 2011 09:40, Alexandre Bergel <[hidden email]> escreveu: >> 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 >>> [hidden email] >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >> >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> >> _______________________________________________ >> 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 > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
CONTENTS DELETED
The author has deleted this message.
|
Free forum by Nabble | Edit this page |