Newbie question

Richard Eng horrido.hobbies at gmail.com
Mon Jul 23 14:32:48 UTC 2007


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
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070723/f5ef62ed/attachment.htm


More information about the Squeak-dev mailing list