<div><span class="gmail_quote">On 9/20/07, <b class="gmail_sendername">Chris Cunnington</b> &lt;<a href="mailto:cunnington@sympatico.ca">cunnington@sympatico.ca</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>I have a question about the difference between chaining and cascading. What<br>would happen if you wrote this:
<br><br>Html table id: &#39;label&#39; with: [foo foo foo]<br><br>You see, I&#39;ve left out the semicolon that the sushi store demo puts between<br>&#39;label&#39; and with. It usually looks like this:<br><br>Html table id: &#39;label&#39;; with: [foo foo foo]
</blockquote>
<div>&nbsp;</div>
<div>Well, the first example is sending the method <strong>#id:with:</strong> to <strong>Html table.&nbsp; </strong>The second example is the equavalent of:</div>
<div><strong>Html table id: &#39;label&#39;.</strong></div>
<div><strong>Html table with: [foo foo foo].</strong></div>
<div>&nbsp;</div>
<div>The cascading operator (the semicolon ;) causes the next message (#with:)&nbsp;to be sent to the previous messages (#id:) receiver (in this case, Html table).</div><br>&nbsp;</div>