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: