Función Lof

Devolve o tamaño dun ficheiro aberto en bytes.

Sintaxe:


Lof (FileNumber) As Long

Valor de retorno:

Long

Parámetros:

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

Icona Suxestión

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


Códigos de erro

5 Chamada de procedemento incorrecta

52 Erro no nome ou número do ficheiro

Exemplo:

Precisamos da súa axuda!