|
>> notation: msg#00181lang.smalltalk.squeak.beginners
I'm having trouble understanding the '>>' in some Smalltalk programs, Such as this, from Smalltalk By Example: MyClass>>doThis 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.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Stop a script for a second, Bert Freudenberg |
|---|---|
| Next by Date: | Re: >> notation, Klaus D. Witzel |
| Previous by Thread: | Stop a script for a second, Martin Bleichner |
| Next by Thread: | Re: >> notation, Klaus D. Witzel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |