> and now method bodies:
>
> method1
>    object = 0 ifTrue: [ do something] ifFalse: [ do something else ]
>
> method2
>    object ~= 0 ifTrue: [ do something] ifFalse: [ do something else ]
>
oops, i mistaken, obviously method bodies should use self:

 method1
    self = 0 ifTrue: [ do something] ifFalse: [ do something else ]

 method2
    self ~= 0 ifTrue: [ do something] ifFalse: [ do something else ]

-- 
Best regards,
Igor Stasenko AKA sig.
_______________________________________________
Exupery mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/exupery

Reply via email to