[Gambas-user] Array Declaration

Jussi Lahtinen jussi.lahtinen at gmail.com
Sat Jan 9 03:57:54 CET 2021


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> 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 ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210109/038928e8/attachment.htm>


More information about the User mailing list