I've declared an array of 88 arraylists using the following code:
Dim Data_FRONT(88) As ArrayList
and then I try to add incoming data to it using the following code:
Dim Data_In(88) As Double
For i = 0 To 87
Data_In(i) = 15 ' Hard-coding just to test it
Next
' ...
' Then later in the code after some processing
For i = 0 To 87
Data_FRONT(i).Add(Data_In(i))
Next
and I get the following run-time error: "Object reference not set to an instance of an object."
I've even tried doing this:
For i = 0 to 87
Data_FRONT(i).Add(15) ' Hard-coding to test it
Next
and I still get that error. Any thoughts?