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:

Please support us!