Re: [Gambas-user] Class array - Null Object

2018-01-28 Thread nando_f
For TheCounter = 0 To 100 TheArray[TheCounter] = New Class1 <--- you need to create a new object at each element TheArray[TheCounter].I = TheCounter< Your error because no object at the element exists. You only created the array. -- Open WebMail Project (http://openwe

Re: [Gambas-user] Class array - Null Object

2018-01-28 Thread Benoît Minisini
Le 29/01/2018 à 05:53, Phan Damily via Gambas-user a écrit : Hello everyone. I'm new to Gambas and new to the mailing list. I'm using v3.10.0 on Linux.I programmed extensively with VB6 back in the day. So Gambas is pretty straight-forward and I'm excited about switching over from Xamarin's C#.