@FILEPOS
Windows ✓Linux ✓macOS ⏳
Syntax
@FILEPOS(<identifier> {, EOF} )
Description
This function returns the current position, in bytes relative to the start, of the file <identifier>.
If the EOF paramater is present, then the function returns 1 (true) or null (false) depending on whether the end of the file has been reached.
OK
Unchanged.
Example
IF @FILEPOS(%%data, EOF)
CLOSEFILE %%data
END