[Gambas-user] Embedded arrays are forbidden here (Within a Function)

Fabien Bodard gambas.fr at gmail.com
Wed Nov 28 19:50:54 CET 2018


You need to use Dynamic array in a function :

Dim aWeight as new Integer[12]

Le mer. 28 nov. 2018 à 19:03, KKing <kicking177 at gmail.com> a écrit :

> within a function if I use
>
>      Dim intWeight[12] As Integer
>
> when I go to compile I get.
>
>      Embedded arrays are forbidden here.
>
> Why?
>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>


-- 
Fabien Bodard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20181128/c19a720b/attachment-0001.html>


More information about the User mailing list