[Q] perform: selector
David Faught
dave_faught at yahoo.com
Fri Dec 20 19:37:06 UTC 2002
On Friday 20 December 2002 20:18, Adrian Lienhard wrote:
>Just having scanned your mail, I estimate that it should say (note
>the right parenthese):
>
> self addLabel: (self perform: aSelector) asString.
>
>you may probably want to send the message named aSelector first and
>then transform the resulting object to a string.
You are correct! This works fine. Every time I think I have Squeak's
order of operations figured out, I get surprised. Maybe Squeak is more
closely related to Lisp than I thought ...
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
More information about the Squeak-dev
mailing list
|