QE3D5‖

mDAPF‖Lof Function

3PR3T‖Returns the size of an open file in bytes.

FVEx2‖Syntax:


D84bA‖Lof (FileNumber) As Long

GePPP‖Return value:

Long

WADQ4‖Parameters:

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

Tip Icon

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


SEjHR‖Error codes:

5 Invalid procedure call

52 Invalid file name or file number

EFSA4‖Example: