[Gambas-user] About array Initialization

Demosthenes Koptsis demosthenesk at ...626...
Wed Nov 17 11:22:21 CET 2010


Good morning to all!

we can do an array initialization such as

  DIM aNumbers AS Integer[] = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

but not 
  DIM aNumbers AS Integer[10] = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]


why is that?


-- 
Regards,
Demosthenes Koptsis.





More information about the User mailing list