[Gambas-user] Way to create dynamic Arrays

Hartmut Wagener hartmut.w.wagener at t-online.de
Tue Aug 15 21:50:57 CEST 2023


I have found it out, by using the .add-thing...

Am 15.08.23 um 21:46 schrieb Hartmut Wagener:
> I have tried the dynamic arrays.
>
> I created an array
>
>
> Public Samples as Short[]
>
>
> Inside the program i used
>
>
> Dim Samples As New Short[countSamples]
>
>
> to add an array-entry.
>
>
> countSamples is incremented each new Sample.
>
>
> The program runs through the readin-phase, but there is no array 
> created with all the samples.
>
>
> What is wrong?
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----


More information about the User mailing list