Lof funkcija

Grąžina atverto failo dydį baitais.

Sintaksė:


Lof (FileNumber) As Long

Grąžinimo reikšmė:

Long

Parametrai:

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

Tip Icon

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


Klaidos kodai:

5 Neteisingas procedūros iškvietimas

52 neteisingas failo pavadinimas arba failo numeris

Pavyzdys:

Paremkite mus!