Lof (function)
Syntax | Lof (filenumber) |
Description | Returns a Long representing the number of bytes in the given file. |
Comments | The filenumber parameter is an Integer used by the Basic Control Engine to refer to the open file, the number passed to the Open statement. The file must currently be open. |
Example |
This example creates a test file, writes ten records into it, then finds the length of the file and displays it in a message box.
|
See Also | Loc (function); Open (statement); FileLen (function). |