Contents  Index  
──────────────────────────────────────────────────────────────────────────────
Returns the length of a file in bytes.

LOF(filenumber%)filenumber%    The number of an open file.

Example:
    INPUT "Enter filename: "; f$
    OPEN f$ FOR BINARY AS #1
    PRINT "File length = "; LOF(1)
    CLOSE
──────────────────────────────────────────────────────────────────────────────
 © Copyright Microsoft Corporation, 1987-1992. All rights reserved.
   Converted from qbasic.hlp with DosHelp/HelpConvert