Il venerdì 14 maggio 2010 23:35:44 Benoît Minisini ha scritto:
> Hi,
>
> There was a warning in the documentation for a long time, and now it is
> effective: the support for static arrays has been removed.
>
> Moreover, the New keyword is now mandatory if you want to instanciate an
> array at the same time you declare it.
>
> Concretely, the following syntaxes are not possible anymore:
>
>       Private MyStaticArray[16] As MyClass ' #1
>       Private MyArray As MyClass[16] ' #2
>
> The syntax #2 must be written that way:
>
>       Private MyArray As New MyClass[16]
>
> Static arrays will come back in the future (with structure support maybe,
> who knows?), but they will use the syntax #2, not the syntax #1. So don't
> be mixed up!
>
> Regards,

You mean in Gambas 3, or in next stable release of Gambas 2. 
Thanks.

Saluti,

Stefano 

------------------------------------------------------------------------------

_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to