WRITES C BYTES TO THE BINARY FILE NUMBER N, DATA TO BE WRITTEN ARE IN THE ARRAY V% FROM INDEX P
ACTION
The command FILEBIN_BLOCK_WRITE N,C,V%(P) writes a block of C bytes to the binary file number N. The data to be written are in the array V% from index P.
The array V% must be of the type integer.
The current position in the binary file is increased by C.
SYNTAX:
FILEBIN_BLOCK_WRITE N,C,V%(P)
USE ERROR EXAMPLE
rem open a binary file for writing
filebin_open_write 1 1,"file.abc"
rem set the position to 5
filebin_position 1,5
rem write 10 bytes
filebin_block_write 1,10,v%(7)
rem close the binary file
filebin_close 1
FILEBIN_BLOCK_WRITE
FILEBIN_BLOCK_WRITE N,C,V%(P)
SEE ALSO
FILEBIN_BLOCK_READ
FILEBIN_CLOSE
FILEBIN_HEXA_READ
FILEBIN_HEXA_READ$()
FILEBIN_HEXA_WRITE
FILEBIN_OPEN_READ
FILEBIN_OPEN_WRITE
FILEBIN_POS()
FILEBIN_POSITION
FILEBIN_READ
FILEBIN_READ()
FILEBIN_SIZE()
FILEBIN_WRITE