file.size
Syntax
- i = file.size(<f>)
Get the size of a file.
If no argument is provided, then returns the size of the last opened file. If a file pointer is provided, then returns the current size of that file. If a string is provided, then returns the size of that file name, or zero if a file of that name was not found.
Returns: i - Ths size of the file, in bytes. Or 0 if the file is not found. Arguments: f - An optional file pointer, or a string indicating a file name.
Was this helpful? ... | 3DEC © 2019, Itasca | Updated: Feb 25, 2024 |