Anonymous user
Talk:Respond to an unknown method call: Difference between revisions
Talk:Respond to an unknown method call (view source)
Revision as of 08:41, 7 November 2011
, 12 years ago→PicoLisp solution: copy-paste error
(→PicoLisp solution: new section) |
m (→PicoLisp solution: copy-paste error) |
||
Line 13:
== PicoLisp solution ==
-- Sorry, I don't get it. The examples *do* demonstrate how to respond to an unknown message. If 'try' does not succeed, you can take any other measure you like (as here sending some other (known) message to the object). You might also call some other function on that object if you like, but that's not the point
: the current solution does not respond to the unknown method call, it merely does a different call if the unknown calls fail.
: a correct solution would let the call <code>(try 'message1> Obj)</code> be successful. and actually it shouldn't even need to use <code>(try)</code>, but it should be possible to directly call <code>(message1> Obj)</code> without error.--[[User:EMBee|eMBee]] 08:37, 7 November 2011 (UTC)
|