Hello,
The insert into array function you are using will insert data in an existing position of an array, so in frame 0, you must initialise an array with a length different form zero in the dimension 2, because then there is no place to insert the data.
Try setting dimension size diferent from zero and equal to the number of lines you are expecting and then I guess your insert into array will work.
Hope this helps,
Paulo