Using Binary Files

PB/CC binary files start with byte 1, by default.  PB/DOS binary files start with 0.  To force compatibility, use the "BASE =" option in the OPEN statement.

OPEN "MYFILE.DAT" FOR BINARY AS #1 BASE = 0

 

See Also

Files

Sequential Files

Random Access Files

Binary Files