[squeak-dev] a==b "true" but a=b "false"
Bert Freudenberg
bert at freudenbergs.de
Thu Sep 4 19:46:28 UTC 2014
On 04.09.2014, at 11:30, Bert Freudenberg <bert at freudenbergs.de> wrote:
> a = b or: [a isNaN = b isNaN]
I meant, of course, this:
a = b or: [a isNaN and: [b isNaN]]
And if you do it like that than there is no need for identity checks in any case.
- Bert -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4142 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140904/1dac7fbe/smime.bin
More information about the Squeak-dev
mailing list
|