Lof Function

ត្រឡប់​ទំហំ​នៃ​ឯកសារ​ដែល​បើក គិត​ជា​បៃ ។

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.

រូប​តំណាង​ព័ត៌មាន​ជំនួយ

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


Error codes:

5 ការ​ហៅ​បែបបទ​មិន​ត្រឹមត្រូវ

52 ឈ្មោះ ឬ​លេខ​ឯកសារ​មិន​ត្រឹមត្រូវ

Example: