Send an unknown method call: Difference between revisions
Content added Content deleted
(GP) |
m (→{{header|Smalltalk}}: Add local link.) |
||
Line 176: | Line 176: | ||
Example new perform: symbol with: 5. " returns 47 "</lang> |
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. |
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}}== |
=={{header|Tcl}}== |