Lof Function

Devuelve'l tamañu d'un ficheru abiertu en bytes.

Syntax:


Lof (FileNumber) As Long

Return value:

Long

Parameters:

FileNumber: Any numeric expression that contains the file number that is specified in the Open statement.

Iconu de conseyu

To obtain the length of a file that is not open, use the FileLen function.


Error codes:

5 Llamada a procedimientu non válida

52 Nome de ficheru o númberu incorrectos

Example:

Please support us!