Identity vs equality (was Re: [Newbies] Assignment)

Yoshiki Ohshima yoshiki at squeakland.org
Fri Aug 10 21:37:24 UTC 2007


  Andrew,

> No. It think it will still be ok.
> 
> ((((Character value: 6543) asString , $- asString) at: 2) == $- ) -> true
> 
> I only have literal chars on the right hand side of the ==.
> Literal chars can only be < 256 , and are unique.

  This is just a nit-picking, but of course literal chars can be >=
256.  You can write an expression at the end of this email in a
Workspace.

-- Yoshiki

=====
aStream next == $$B$"(B
aStream next = $$B$$(B
=====



More information about the Squeak-dev mailing list