[Gambas-user] "Native" arrays

Benoit Minisini gambas at ...1...
Tue Nov 18 17:42:33 CET 2003


Le Lundi 17 Novembre 2003 23:11, Leo Barnhoorn a écrit :
> Hallo Benoit,
>
> "Native" arrays
> You declare them this way:
> DIM MyArray[Dim1, Dim2, ... ] AS Integer/String/...
> You can have up to eight dimensions.
>
> I make something like this in my program but it is not working.
>
>   DIM aConsole[24, 79, 3] AS Integer/Integer/Integer
>
> I get a syntax error. Also when i use vars it is not working, the same
> error.
>
> How can i use this kind of array.
>
> Regards,
> Leo Barnhoorn.
>
>

Hmm... Integer/String/... means Integer OR String OR any datatype.
All array elements have the same datatype !

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...





More information about the User mailing list