L’interface de VDS Renaissance est disponible en plusieurs langues. La documentation officielle est maintenue en anglais afin de garantir une référence unique, cohérente et toujours à jour.

@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