[squeak-dev] comparison in a variable
Joseph J Alotta
joseph.alotta at gmail.com
Wed Nov 7 18:02:41 UTC 2012
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
|