Send an unknown method call: Difference between revisions
Content deleted Content added
added smalltalk |
|||
Line 130: | Line 130: | ||
^ 42 + x ] ]. |
^ 42 + x ] ]. |
||
name := 'foo:' asSymbol. |
name := 'foo:' asSymbol. " same as name := #foo: " |
||
Example new perform: name with: 5. " returns 47 "</lang> |
Example new perform: name with: 5. " returns 47 "</lang> |