Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!rochester!cornellcs!travelers.mail.cornell.edu!news.kei.com!news.mathworks.com!tank.news.pipex.net!pipex!howland.reston.ans.net!cs.utexas.edu!news.ti.com!ticipa!clw
From: clw@ticipa.works.ti.com (Chris Winemiller)
Subject: Re: Point Arrays in VS3.01
Message-ID: <1995Oct3.151043.20264@ticipa.works.ti.com>
Organization: None
References: <44qkdv$rd6@newsbf02.news.aol.com>
Date: Tue, 3 Oct 1995 15:10:43 GMT
Lines: 20

In article <44qkdv$rd6@newsbf02.news.aol.com> cognus@aol.com (Cognus) writes:
>I would like to initialize a dictionary with a series of point arrays to
>use with: (for example)  Display pen polygonFilled: pointArray.
>
>I run into a problem in using a point array . . .
>
>anArray :=   #( (10 @ 20) (20@10) ) 
>
>Although " anArray at: 0" evaluates to a Point on inspection, the Point
>gets turned into the array.

>can anyone suggest a workaround for this scenario.

anArray := Array with: 10@20 with: 20@10

Chris
==============================================================
Chris Winemiller               Internet: clw@works.ti.com
Disclaimer: I do not speak for TI.
==============================================================
