stepharo wrote:
Soon soon :)
but in this form

MyClass>>myMethod
    [
    ^ 1 + 3
    ]


Glad to hear it. Can you consider some _optional_ way to also specify the protocol. Some random ideas...
1. MyClass>>accessors>>myMethod: anObject
2. MyClass>>'accessors'>>myMethod: anObject
3. MyClass(acccessors)>>myMethod: anObject
4. MyClass"accessors">>myMethod: anObject
5. MyClass^accessors>>myMethod: anObject
cheers -ben

;)

MyClass>>myMethod   "in accessors"
    ^ 1 + 3

The current System Browser my also be switched to that method at the same time, or a new System Browser opened if this is entered from Workspace. I see some advantages for this for tutorials, where methods are presented using the ">>" convention, and readers might copy-paste the whole code.

cheers -ben







Reply via email to