[squeak-dev] comparison in a variable
Bert Freudenberg
bert at freudenbergs.de
Thu Nov 8 11:39:20 UTC 2012
Hi Joe,
please use our beginner's list for beginner's questions:
http://lists.squeak.org/mailman/listinfo/beginners
People are friendly here, too, but if you post over there, other beginners can learn from your posts and the answers, too.
- Bert -
On 2012-11-07, at 19:02, Joseph J Alotta <joseph.alotta at gmail.com> wrote:
> Greetings,
>
> I am trying to store a test condition in a variable:
>
> | test |
>
> test := '>'.
>
> ( 5 test 7) ==> false
>
>
> I tried:
>
> test := $>.
>
> test := [ :x :y | x > y ].
>
>
> How is this done?
>
>
> Thank you for your help.
>
>
> Sincerely,
>
> Joe.
More information about the Squeak-dev
mailing list
|