Line Input doesn't work when getting array elements.
Line Input only works with simple variables. This gives a value of 0 for the text lines that are trying to go into the array:
#manifest: "aoz" #splashScreen:False cls 0 Open In 1,"datafile" Line Input #1,Q print Q Dim QUESTIONS$(Q,6) For COUNT=1 To Q For COUNT2=1 To 6 Line Input #1,QUESTIONS$(COUNT,COUNT2) print "|";QUESTIONS$(COUNT,COUNT2);"|" //wait key Next COUNT2 Next COUNT Close 1
datafile has a number on the first line, then some text on each line below.