Concept Framework 1.0 documentation Contents | Index

standard.C.io.filesize

Name Version Deprecated
filesize version 1.0 no

Prototype:
number filesize(string path)

Parameters:
path      [in] The path of the file

Description:
Returns the file length, in bytes, of the target file.

Example:
import standard.C.io


define FILENAME "test.txt"

class Main {
function Main() {
echo "The size of " + FILENAME + " is " + filesize(FILENAME) + " bytes.";
}
}

Results
The size of test.txt is 350 bytes.

Returns:
Returns the file length, in bytes, of the target file.

Documented by Simona Plesuvu, generation time: Thu Oct 15 20:02:04 2009 GMT(c)2009 RadGs Software