[Newbies] Testing = and == in workspace

Bert Freudenberg bert at freudenbergs.de
Sat Jan 7 09:13:44 UTC 2012


Am 07.01.2012 um 07:04 schrieb Ben Coman <btc at openInWorld.com>:
> I had thought that the two assignments of 'xxx' to (x) and (y) would result in different objects, but they turn out to be identical.  It is like the compiler has noticed that they are equal and chosen to make them identical.  

That is indeed what's happening. 

You can verify this by executing each line separately. 

- Bert -


More information about the Beginners mailing list