You will also sometimes see something like: Person class >> new
When someone is writing about code. This means that you should look on the class side of Person for the method #new. People will also indicate the method name with a symbol (for example #new) if they are writing the method name in-lined in a sentence. Ron Teitelbaum President / Principal Software Engineer US Medical Record Specialists [EMAIL PROTECTED] > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:beginners- > [EMAIL PROTECTED] On Behalf Of Emilio Oca > Sent: Thursday, November 30, 2006 1:16 PM > To: A friendly place to get answers to even the most basic > questionsaboutSqueak. > Subject: RE: [Newbies] >> notation > > Dave > > > You mention the browser, how would I use it to understand the > > MyClass>>doThis statement? Or is this even a good example for > > understanding > > ">>"? > > MyClass>>doThis is not a statement of the Smalltalk language it is just > notation, a way to say (or write) the contents (or definition) of a > method. > > When you write: > > MyClass>>doThis > array := Array new: 3. > array at: 1 put: 2. > > It means that if you browse to the class MyClass, then to the method whose > selector is #doThis you will find: > > doThis > array := Array new: 3. > array at: 1 put: 2. > > Another example, if I include in a mail the following text: > > String>>sameAs: aString > "Answer whether the receiver sorts equal to aString. The > collation sequence is ascii with case differences ignored." > ^(self compare: aString caseSensitive: false) = 2 > > It means that I am (may be) asuming that the class String exists, that it > has a method whose selector is #sameAs: and it's definition is: > > sameAs: aString > "Answer whether the receiver sorts equal to aString. The > collation sequence is ascii with case differences ignored." > ^(self compare: aString caseSensitive: false) = 2 > > Try it, go and find the method sameAs: of the class String. > > I hope this helps. > > Emilio > > _______________________________________________ > Beginners mailing list > Beginners@lists.squeakfoundation.org > http://lists.squeakfoundation.org/mailman/listinfo/beginners _______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners