[Gambas-user] About help and arrays and variables

Demosthenes Koptsis demosthenesk at ...626...
Wed Nov 17 12:45:37 CET 2010


in http://gambasdoc.org/help/lang/arraydecl?show

the syntax for Embedded arrays is

[ STATIC ] { PUBLIC | PRIVATE } Identifier [ Array dimensions ... ] AS
Native Datatype

but i could use also the NEW keyword

For example

PUBLIC aNames AS NEW String[2, 2]

This description for the use of NEW is in 

1)local array syntax with DIM keyword

2)and at variable syntax in "Initialization" section
http://gambasdoc.org/help/lang/vardecl?show

but is missing at Embedded arrays syntax.

it is implied in variable section but the all description is separated
and mixed up in many pages.

-- 
Regards,
Demosthenes Koptsis.





More information about the User mailing list