On 08.01.2012, at 00:48, Ben Coman wrote:
For some naive reason I thought that the SmallIntegers would stop at 64k.
No, SmallIntegers currently use the full 31 bit range:
{SmallInteger maxVal hex. SmallInteger minVal hex}
== #('16r3FFF' '-16r4000')
Is it platform
Am 07.01.2012 um 07:04 schrieb Ben Coman b...@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.
Bert Freudenberg wrote:
Am 07.01.2012 um 07:04 schrieb Ben Coman b...@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
Levente Uzonyi wrote:
On Sat, 7 Jan 2012, Ben Coman wrote:
Bert Freudenberg wrote:
Am 07.01.2012 um 07:04 schrieb Ben Coman b...@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
Hi Ben,
Have a look at the method for yourself. Check out the method = on the
instance side of String.
It should be pretty obvious when you get to the actual string comparison.
All the best,
Ron Teitelbaum
-Original Message-
From: beginners-boun...@lists.squeakfoundation.org