◄QuickSCREEN► ◄Details► ◄Example► ◄Contents► ◄Index► ────────────────────────────────────────────────────────────────────────────── LOF Function Details Syntax LOF(filenumber) The argument filenumber is the number used in the OPEN statement. When a file is opened in any mode, the LOF function returns the size of the file in bytes. LOF cannot be used with the BASIC devices SCRN:, KYBD:, CONS:, and LPTn:. When used on a device opened as a file with the statement OPEN COM, the LOF function returns the number of bytes free in the output buffer.