lof

Synopsis

$ lof("path/file")

Obtain the size of the specified file.

Parameters

"path/file" - the file to obtain the size of.

Returns

A long containing the length of the specified file in bytes.

Examples

println("My file size is: " . lof("lof.sl") . " bytes");

My file size is: 57 bytes

See Also