Send an unknown method call: Difference between revisions

Line 128:
This can be done with the '[http://software-lab.de/doc/refS.html#send send]' function.
<lang PicoLisp>(send (expression) Obj arg1 arg2)</lang>
 
=={{header|Pike}}==
with [] instead of -> a string can be used to name a method:
<lang Pike>string unknown = "format_nice";
object now = Calendar.now();
now[unknown]();</lang>
 
=={{header|Python}}==
Anonymous user