[Newbies] >> notation

Another Dave dooright101 at yahoo.com
Thu Nov 30 01:42:20 UTC 2006

I'm having trouble understanding the '>>'  in some Smalltalk programs, Such
as this, from Smalltalk By Example:

 array := Array new: 3.
 array at: 1 put: 2.

I can understand that we are creating a new 3-place instance of Array, named
array, and putting 2 in the first slot. But I don't understand what MyClass,
>>, or doThis are doing.

View this message in context: http://www.nabble.com/%3E%3E-notation-tf2729086.html#a7612000
Sent from the Squeak - Beginners mailing list archive at Nabble.com.

More information about the Beginners mailing list