[Gambas-user] Would an ArrayList datatype be helpful for gambas users?
Gianluigi
gradobag at gradobag.it
Mon Sep 11 09:53:56 CEST 2023
Il 10/09/23 23:03, Fabien Bodard ha scritto:
> in langage like rust a slice is a kind of special pointer to an array
> or any list with 3 coords like arrayref,position, length.
>
> dim myarray as array = [...,...,...
>
> dim mySlice as Slice = MyArray.Slice(2,23)
>
> for each s in MySlice
> ...
>
> I you change value in array then the value change also in the slice as
> it is just a pointer to an array part.
>
> It can be usefull on string analysis.
>
> Fabien Bodard
>
Hi Fabien,
Thanks for the explanations, now I know something more than the
programming :-)
You are always kind
Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230911/2f04b35c/attachment.htm>
More information about the User
mailing list