[Gambas-user] gb3: public array that is dimensioned later
Benoît Minisini
gambas at ...1...
Thu Aug 4 02:09:47 CEST 2011
> On 08/03/2011 07:00 PM, Kevin Fishburne wrote:
> > I need to create a public array in a module but specify its dimensions
> > in a procedure later. Is this possible, and how would it be done
>
> I forgot to mention, I'd like it to be a 2D array, though I could write
> workaround code if it has to be 1D.
You have to specify the array dimensions at the same time you create it. So
you have to create it in your later procedure.
Regards,
--
Benoît Minisini
More information about the User
mailing list