Lof

Length = Lof ( File )

Returns the length of a opened stream.


Example

OPEN FileName FOR READ AS #hFile
...
PRINT "File length is"; Lof(hFile)


See also

CLOSE, COPY, Eof, FLUSH, INPUT, LINE INPUT, KILL, OPEN, PRINT, READ, RENAME, Seek, SEEK, WRITE


Previous: Local variable declaration Next: Log10