Lof Function

μ—΄λ¦° 파일의 크기λ₯Ό λ°”μ΄νŠΈλ‘œ κ΅¬ν•©λ‹ˆλ‹€.

Syntax:


Lof (FileNumber)

Return value:

Long

Parameters:

FileNumber: Open 문에 μ§€μ •λœ 파일 번호λ₯Ό ν¬ν•¨ν•˜λŠ” μž„μ˜μ˜ 숫자 μ‹μž…λ‹ˆλ‹€.

팁 μ•„μ΄μ½˜

μ—΄μ§€ μ•Šμ€ 파일의 길이λ₯Ό κ΅¬ν•˜λ €λ©΄ FileLen ν•¨μˆ˜λ₯Ό μ‚¬μš©ν•©λ‹ˆλ‹€.


Error codes:

5 잘λͺ»λœ ν”„λ‘œμ‹œμ € ν˜ΈμΆœμž…λ‹ˆλ‹€.

52 잘λͺ»λœ 파일 이름 λ˜λŠ” λ²ˆν˜Έμž…λ‹ˆλ‹€.

Example: