[Gambas-user] Would an ArrayList datatype be helpful for gambas users?
gradobag at gradobag.it
Mon Sep 11 10:18:33 CEST 2023
Il 11/09/23 09:53, Gianluigi ha scritto:
> 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
You made me want to check out Bjarne Stroustrup's book.
Slice is well explained, unfortunately it is 'way' beyond my mental
Modestly, my ignorance is vast and touches all points :-D
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User