does squeak have an equivalent of #askFor:
Keith Hodges
keith_hodges at yahoo.co.uk
Fri Aug 11 12:30:27 UTC 2006
I remeber a while back using #askFor:
which does something like.
------------
askFor: selector
^(self respondsTo: selector) ifTrue: [ self perform: selector ] ifFalse:
[ false ].
------------
is used for testing isThis and isThat's
a askFor: #isMyclass
best regards
Keith
___________________________________________________________
Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
More information about the Squeak-dev
mailing list
|