[Gambas-user] Array Declaration

Shane buster6seven at gmail.com
Sat Jan 9 04:33:23 CET 2021


Yes that was what i was after thank you


On 9/1/21 1:57 pm, Jussi Lahtinen wrote:
> Better in what sense?
> Maybe?
> Points = [Point(1, 0), Point(2, 0)]
>
> Jussi
>
> On Sat, Jan 9, 2021 at 2:55 AM Shane <buster6seven at gmail.com 
> <mailto:buster6seven at gmail.com>> wrote:
>
>     Hey Group Is there a better way to do this
>
>     Public Points as new Point[]
>
>
>     then in a sub
>
>     Points.Add(Point(2,0))
>
>     ....
>
>     x amount of times
>
>     ....
>
>     Points.Add(Point(1,0))
>
>
>     ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210109/e70b3bb1/attachment.htm>


More information about the User mailing list