Category:Smalltalk: Difference between revisions

Line 501:
(here 'self' is the Integer receiver object, and "ˆ" returns a value from the message send).
 
To get the factorial value, we'd evaluate in a workspace:<lang>10 factorial</lang>.
 
However, to get this code to be executed in a concrete Smalltalk system, you'd have two ways to go:
Anonymous user