Bug #735
Line Input doesn't work when getting array elements.
Start date:
04/23/2021
Due date:
% Done:
0%
Estimated time:
Affected version:
Description
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.
Updated by Paul Kitching over 1 year ago
- Affected version changed from Beta 7 to 1.0.0 (B10) u16
Still a problem in Beta 10.
The file has this:
3
One
Two
Three
and the output is this:
3 |0| |0| |0|
Instead of displaying the words, it's showing a 0.