Category:Smalltalk: Difference between revisions

Line 245:
 
=== Message Sending ===
Message sends are dynamically resolved, by letting the receiver of the message determine the method (aka code to run). The message consist of a selector (= name of the message) and optional arguments. <br>The message syntax as:
<lang smalltalk>receiver selector</lang>
a unary message, without arguments.<br>In a C-like language, this would be written as "receiver.selector()".
Anonymous user