I thought when one declares a fixed array, one should not be able to add new elements to it? But, this works:
' Gambas module file Public Sub Main() Dim sCarBrands As New String[5] sCarBrands = ["Volvo", "Saab", "Fiat", "Aston Martin", "Skoda"] sCarBrands.Add("Audi") sCarBrands.Add("VW") Print sCarBrands.Join(", ") End ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user