[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gambas-user
Subject:    Re: [Gambas-user] "Native" arrays
From:       Benoit Minisini <gambas () users ! sourceforge ! net>
Date:       2003-11-18 16:42:33
[Download RAW message or body]

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@users.sourceforge.net



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic