Fungsi Lof

Mengembalikan ukuran berkas yang terbuka dalam byte.

Sintaksis:


Lof (FileNumber) As Long

Nilai balikan:

Long

Parameter:

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

Ikon Tip

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


Kode kesalahan:

5 Tidak sah dalam pemanggilan prosedur

52 Nama berkas atau angka yang buruk

Contoh:

Mohon dukung kami!