help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] GST crashes with the following code


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] GST crashes with the following code
Date: Sat, 31 May 2008 08:58:10 +0200
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)

Canol Gokel wrote:
Hi,

GST crashes when I try to run this code:


1 to: 5 do: [:x |
        1 to: 5 do: [:y |
                #(x y)
        ]
]

It does not crash, it just says

stdin:6: expected true, false or nil

:-)

You want "{x. y} printNl" instead of #(x y).

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]