VDS Renaissance 的界面提供多种语言。官方文档以英语维护,以确保提供统一、一致且始终最新的参考。

@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