FREAD
Posted: Tue Dec 04, 2012 2:00 am
Hey, I am having a problem with FREAD. The WRITE function works
perfectly, however, the FREAD function seems to do absolutely nothing.
Here is the sample code that I am trying:
DIM A(512)
DIM B(512)
A(512)=9
WRITE ($6000, A, 512)
FREAD ($6000, B, 512)
PRINT A(512)
PRINT B(512)
This always prints B(512) as 0 or whatever value I declare it to be.
Am I doing something obviously wrong? There wasn't much documentation
on FREAD in the manual.
perfectly, however, the FREAD function seems to do absolutely nothing.
Here is the sample code that I am trying:
DIM A(512)
DIM B(512)
A(512)=9
WRITE ($6000, A, 512)
FREAD ($6000, B, 512)
PRINT A(512)
PRINT B(512)
This always prints B(512) as 0 or whatever value I declare it to be.
Am I doing something obviously wrong? There wasn't much documentation
on FREAD in the manual.