Newbie question

Bert Freudenberg bert at freudenbergs.de
Mon Jul 23 14:34:45 UTC 2007


You rather get the noise of squeak-dev? Brave man!

- Bert -

On Jul 23, 2007, at 16:32 , Richard Eng wrote:

> Thanks! I didn't know about the period.
>
> (I unsubscribed from the Newbie list because I rarely have newbie  
> questions and I didn't want to get all the email "noise" from that  
> list.)
>
> Regards,
> Richard
>
>
> On 7/23/07, nicolas cellier <ncellier at ifrance.com> wrote: Richard  
> Eng <horrido.hobbies <at> gmail.com> writes:
>
> >
> >
> > I want to do something like...
> >
> > #('some text 1'  'some text 2'  'some text 3'  'some text 4')
> > with: "a corresponding list of classes, say, {class1  class2    
> class3  class4}"
> > do:
> >     [:each1 :each2 |
> >     "do something with <each1 text> and <each2 class> pair"]
> >
>
>
> Use a period separator in brace construct.
> {Class1. Class2. Class3. Class4}
>
> Otherwise, it is interpreted as send message: class4 to: (result of  
> send
> message: class3 to: (result of send message: class2 to: class1))
>
> Nicolas
>
>
>
>
>




More information about the Squeak-dev mailing list