function filesize

Return the length in bytes of a file. Returns -1 if the file does not exist.

Syntax
result = filesize(FILENAME)

Arguments
FILENAME:   A string.


See also
function findfile
function dir
function fileexists