Category:Smalltalk: Difference between revisions

m (→‎Other: format)
Line 361:
 
r msg1; msg2 "so called cascade; first send msg1 to r, ignoring the return value, then send msg2.
The Valuevalue of the expression is result from last message.
Syntactic sugar for (t := r) msg1. t msg2
but an expression, not a statement (and with an anonymous variable 't')"</lang>
 
=== Class Definition ===
Anonymous user