LOF( #h )

LOF(#handle)

Description:

This function returns the length as number of bytes (or characters) 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