http://gambaswiki.org/bugtracker/edit?object=BUG.982&from=L21haW4-
Comment #1 by Tobias BOEGE: While I believe this could theoretically be possible (the interpreter can distinguish a Struct from an ordinary class), I would argue against that change. It makes MyStruct[] behave vastly different from MyClass[]. The current behaviour is the greatest common denominator and if you want your Struct arrays to be initialised whenever you resize them, you can always write a utility module which implements such a Resize() routine. ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user