[Gambas-user] Way to create dynamic Arrays

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


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?



More information about the User mailing list