Hi,
I have a simple loop that seems to cause problems with 'subscript out of range' - I want to read in a text file, line by line and fill it into an array for subsequent reference. Here is the code:
m = 0
While Not EOF(1)
Line Input #1, Line_holder_array(m)
m = m + 1
Wend
What's my mistake?
thanks, Philip.
I have a simple loop that seems to cause problems with 'subscript out of range' - I want to read in a text file, line by line and fill it into an array for subsequent reference. Here is the code:
m = 0
While Not EOF(1)
Line Input #1, Line_holder_array(m)
m = m + 1
Wend
What's my mistake?
thanks, Philip.