qb45advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
LOF Function Details
  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.