Looks to me like what you're seeing is data that was written using PRINT and LINE INPUT rather than GET/PUT
56 + CRLF = 4 byte
0 + CRLF = 3 bytes... <-- these 0's are throwing your data off.
Sounds like you just need to:
DIM data_array(2500)
OPEN "data_file" FOR INPUT AS #1
DO UNTIL EOF(1)
count = count + 1
INPUT #1, data_array(count)
LOOP
CLOSE
For deeper analysis, you'd need to supply the actual file for reference, but from your post's example layout, I imagine that's more or less the issue.
56 + CRLF = 4 byte
0 + CRLF = 3 bytes... <-- these 0's are throwing your data off.
Sounds like you just need to:
DIM data_array(2500)
OPEN "data_file" FOR INPUT AS #1
DO UNTIL EOF(1)
count = count + 1
INPUT #1, data_array(count)
LOOP
CLOSE
For deeper analysis, you'd need to supply the actual file for reference, but from your post's example layout, I imagine that's more or less the issue.