De interface van VDS Renaissance is in meerdere talen beschikbaar. De officiële documentatie wordt in het Engels onderhouden om één consistente en altijd actuele referentie te garanderen.

@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

See also