* *
*
* * News
 • Daily news
 • Archived news

Columns
 • WildCard
 • Qbasic Articles
 • QB Comic!

Learning center
 • QB Books
 • Qbasic Lessons!
 • Qbasic FAQ
 • Newbies Section
 • Qbasic Tutorials

* *
*
*
*
*  
.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.
* * ** * * * *