Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A Question on memory set aside for Zero
#3
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.
Reply


Messages In This Thread
RE: A Question on memory set aside for Zero - by SMcNeill - 11-30-2024, 03:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  _Putimage Question. Pete 11 709 01-04-2026, 09:33 PM
Last Post: Pete
  Nice simple, I hope, question Mad Axeman 4 360 12-20-2025, 09:28 PM
Last Post: SMcNeill
  NewBie Question niteflyer 2 347 11-06-2025, 07:11 PM
Last Post: Petr
  A Question About _MAPTRIANGLE Magdha 2 388 11-02-2025, 11:37 AM
Last Post: Magdha
  '$include: 'file.tmr' Timing Question pmackay 2 439 10-16-2025, 12:20 PM
Last Post: a740g

Forum Jump:


Users browsing this thread: 1 Guest(s)