Two questions
sqrmax at cvtci.com.ar
sqrmax at cvtci.com.ar
Sat Jun 27 19:51:55 UTC 1998
Hi.
>>^self class new: value + (self negated and: aProbability negated) value
>I assume that the class this method is in implements an "and:" message,
>which is what you are trying to use in the code above.
Yes.
>If this is the case, then you will have to choose a different names for
>your operations than "and:" and "or:".
Oh, boy... probabilities look so ugly without them... anyway, I chose
andWith:, orWith: and so. Do you know of any nicer selectors?
Andres.
More information about the Squeak-dev
mailing list
|