I'm trying to dynamically create a number of TStringLists stored in an array. When I try to do this, I get an EGPFault. I don't know why.
The array is declared :
columns : array[1..5] of TStringList;
They are created thus :
for z := 1 to cols do
where cols is just an int between 1 and 10.
It gives the error when z is 1, so I'm stumped.
Can anyone help?