OPENS A BINARY FILE FOR READING, WITH NUMBER N AND NAME S
ACTION
The command FILEBIN_OPEN_READ N,S opens an existing binary file named S, and gives it the file number N. The number N will be used to designate the binary file.
The open file can then be used through the appropriated commands.
SYNTAX:
FILEBIN_OPEN_READ N,S
USE ERROR EXAMPLE
dim v%
rem open a file for reading
filebin_open_read 1,"test"
rem read the first byte
filebin_read 1,v%
rem print the read value
print v%
rem close the file
filebin_close 1
FILEBIN_OPEN_READ
FILEBIN_OPEN_READ N,S
SEE ALSO
FILEBIN_BLOCK_READ
FILEBIN_BLOCK_WRITE
FILEBIN_CLOSE
FILEBIN_HEXA_READ
FILEBIN_HEXA_READ$()
FILEBIN_HEXA_WRITE
FILEBIN_OPEN_WRITE
FILEBIN_POS()
FILEBIN_POSITION
FILEBIN_READ
FILEBIN_READ()
FILEBIN_SIZE()
FILEBIN_WRITE