RETURNS THE CURRENT POSITION IN THE BINARY FILE NUMBER N
ACTION
The fonction FILEBIN_POS(N) returns the current position in the binary file number N, that is the position of the next byte to be read or to be written. The first position in a binary file is 0.
SYNTAX:
Result=FILEBIN_POS(N)
USE ERROR EXAMPLE
rem open a binary file for reading
filebin_open_read 1,"test"
rem print the current position
print filebin_pos(1)
rem close the file
filebin_close 1
FILEBIN_POS()
FILEBIN_POS(N)
SEE ALSO
FILEBIN_BLOCK_READ
FILEBIN_BLOCK_WRITE
FILEBIN_CLOSE
FILEBIN_HEXA_READ
FILEBIN_HEXA_READ$()
FILEBIN_HEXA_WRITE
FILEBIN_OPEN_READ
FILEBIN_OPEN_WRITE
FILEBIN_POSITION
FILEBIN_READ
FILEBIN_READ()
FILEBIN_SIZE()
FILEBIN_WRITE