Anonymous user
Category:Smalltalk: Difference between revisions
m
→Message Sends
m (→Message Sends) |
|||
Line 327:
===Message Sends===
<lang smalltalk>1000 factorial "send the 'factorial' message to the integer receiver"▼
▲1000 factorial "send the 'factorial' message to the integer receiver"
a factorial even "send the 'factorial' message to whatever "a" refers to, then send 'even' to whatever that returned"
Line 348 ⟶ 347:
b value "evaluate the block's code"
b2 value:123 "evaluate another block's code, passing an argument"</lang>
=== Other ===
|