<div dir="ltr"> Thanks for the link.<div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">* Cascades<br>There are two kinds of message cascades.</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>Semicolons can be used to send a cascade of messages to the original<br>receiver. In "Transcript show: 'hello'; cr" we first send the keyword<br>message #show: 'hello' to the receiver Transcript, and then we send<br>the unary message #cr to the same receiver.</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>It is sometimes useful to send messages to the result of a message<br>send. In "BoxedMorph new :: color: Color blue; openInWorld.", we send<br>succeeding messages to the new BoxedMorph instance, not the BoxedMorph<br>class.</blockquote><div><br></div><div>So,</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">lay1 beRow :: borderWidth: 1 :: borderColor: (Color black) .</blockquote><div><br></div><div>can also be expressed as</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">lay1 beRow; borderWidth: 1; borderColor: (Color black).</blockquote><div>since all messages are intended for the original receiver (lay1).</div><div><br></div><div>And since "beRow" also returns the original object (lay1),</div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">lay1 beRow :: borderWidth: 1 :: borderColor: (Color black) .</blockquote><div>works as well.</div></div><div><br></div><div>A.</div><div><br></div><div>> According to this page:<br>> <br>> <a href="https://cuis-smalltalk.github.io/TheCuisBook/Summary-of-Syntax.html" rel="noreferrer" target="_blank">https://cuis-smalltalk.github.io/TheCuisBook/Summary-of-Syntax.html</a><br>> <br>> Double-colon sends the message to the result of the previous expression. I<br>> would guess that would make it functionally equivalent to putting the<br>> previous expression in parens.<br>> <br>> So:<br>> <br>> lay1 beRow :: borderWidth: 1 :: borderColor: (Color black) .<br>> <br>> would be the same as:<br>> <br>> ((lay1 beRow) borderWidth: 1) borderColor: (Color black) .<br>> <br>> Unless I'm missing something...<br>> <br>> - Jon<br></div><div><br></div></div></div>