Quote: "You can Dim an array anywhere, so long as you Dim it before you use it."
true, but he is going from one routine to another routine and trying to use an array that hasn't been dimensioned yet.
Quote: "
I think this is the problem:
+ Code Snippet
WHILE J<FILE SIZE(F$)
J=J+1
WRITE STRING 1,FILEH$(J)
ENDWHILE
When J = the file size, you then continue to add 1, which breaks the limit of the array. It needs to be:"
do you mean "<" is not working and it continues to add 1.
Quote: "
WHILE J<FILE SIZE(F$)
WRITE STRING 1,FILEH$(J)
J=J+1
ENDWHILE"
the test is at the beginning of the loop so this adds 1 more loop.
doesn't matter anyway. his code doesn't work and he isn't answering.