Send an unknown method call: Difference between revisions

m
(GP)
m (→‎{{header|Smalltalk}}: Add local link.)
Line 176:
Example new perform: symbol with: 5. " returns 47 "</lang>
 
The <code>perform:with:with:</code> family of methods exist for methods with 0 - 2 (3 in [[GNU Smalltalk]]) arguments. For methods with more arguments, use <code>perform:withArguments:</code>, which takes an array of arguments.
 
=={{header|Tcl}}==
Anonymous user