READS C BYTES FROM THE BINARY FILE NUMBER N AND STORES THE VALUES TO THE VARIABLE V
ACTION
The command FILEBIN_HEXA_READ N,C,V reads a block of C bytes from the binary file number N and stores the read values on the shape of 2xC hexadecimal characters to the variable V.
The current position in the binary file is increased by C.
SYNTAX:
FILEBIN_HEXA_READ N,C,V
USE ERROR EXAMPLE
dim v$
rem open a binary file for reading
filebin_open_read 1,"file.abc"
rem set the position to 5
filebin_position 1,5
rem read 10 bytes
filebin_hexa_read 1,10,v$
rem print the 10 read bytes
print v$
rem close the binary file
filebin_close 1
FILEBIN_HEXA_READ
FILEBIN_HEXA_READ N,C,V$
SEE ALSO
FILEBIN_BLOCK_READ
FILEBIN_BLOCK_WRITE
FILEBIN_CLOSE
FILEBIN_HEXA_READ$()
FILEBIN_HEXA_WRITE
FILEBIN_OPEN_READ
FILEBIN_OPEN_WRITE
FILEBIN_POS()
FILEBIN_POSITION
FILEBIN_READ
FILEBIN_READ()
FILEBIN_SIZE()
FILEBIN_WRITE