getfsize
getfsize |
Purpose
Synopsis
function getfsize(filename:string|text):integer
Argument
filename
|
Name (and path) of the file
|
Return value
The size of the file in bytes or -1 in case of error
Further information
The function returns -1 if the file cannot be found or accessed and
MAX_INT if the size exceeds the integer capacity (∼2Gb).
Module