Question about arrays.

Ken Causey squeak-dev at lists.squeakfoundation.org
Fri Sep 6 22:10:58 UTC 2002


Try brace array notation instead

{ 3/4. 2/3 }

See
http://minnow.cc.gatech.edu/squeak/uploads/SqueakLanguageRef.3.html#BraceArray

Ken

On Fri, 2002-09-06 at 16:57, Francisco A. Lizarralde wrote:
> Hi,
> 
> I have an Array with Fractions like this
> 
> #((3/4) (2/3))
> 
> If I inspect (3/4) I look that it is a Fraction.
> 
> If I inspect the former Array, I look that it has two elements, but when
> I inspect the first element of it, I look that it is another Array with
> tree elements, like this
> 
> #( 3 #/ 4) not a Fraction.
> 
> Could anybody tell me, how I can solve this ?
> 
> Thanks in Advance.
> 
> Francisco.
> 





More information about the Squeak-dev mailing list