[Gambas-user] Would an ArrayList datatype be helpful for gambas users?

Jussi Lahtinen jussi.lahtinen at gmail.com
Sun Sep 10 23:02:51 CEST 2023


The documentation is there.
https://gambaswiki.org/wiki/cat/array

Here example specifically for string arrays:
https://gambaswiki.org/wiki/comp/gb/string[]


Jussi

On Sun, Sep 10, 2023 at 10:11 PM Martin Fischer <martin.fischer6 at web.de>
wrote:

> >
> > I don't see the need of that as you can already use an array to do the
> > same thing.
> >
> > Or maybe I missed something?
> >
>
> Benoit,
>
> first I was confused about your reply...
> Then I thought: He really should know...
> Then I fired up gambas to find out if native arrays do already have the
> convenience of my ArrayList...
>
> And yes: you are right. Arrays resize automatically and have a "add to
> tail" method (Add), and, and, and, ...
> The only thing they do not have is the Slice (sublist view) stuff. But
> that is surely not a justification to add another class.
>
> I'm just wondering why I did not find this in the gambas-wiki. Is it
> possible that this is basically undocumented?
>
> Regards
> Martin
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230911/76e4839c/attachment.htm>


More information about the User mailing list