Liberty BASIC Help Online

LOF( #h )
 
LOF(#handle)
 
Description:
This function returns the number of bytes contained in the open file referenced by #handle.
 
Usage:
 
    open "\autoexec.bat" for input as #1
    qtyBytes = lof(#1)
    for x = 1 to qtyBytes
        print input$(#1, 1) ;
    next x
    close #1
    end
 


Copyright (C) 2003 Shoptalk Systems
Liberty BASIC - http://www.libertybasic.com/