So, I'm learning Smalltalk for the first time, and I have a very simple question regarding the precedence of the cascade operator.

So, in this expression:

 self something: anObject selector ; anotherSelector.

Is the target of *anotherSelector* anObject, or self?

In other words, does it parse like this

 self something: (anObject selector ; anotherSelector).

or

self something: (anObject selector) ; anotherSelector.


Also, what is the general principle that determines this.

Thanks in advance.

--
Jeffrey Straszheim
http://straszheim.50megs.com

_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to