Concept Framework 2.0 documentation | Contents | Index |
Name | Version | Deprecated |
filesize | version 1.0 | no |
number filesize(string path) |
path | [in] The path of the file |
Returns the file length, in bytes, of the target file.
|
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. |
Documented by Simona Plesuvu, generation time: Fri Jan 21 18:06:20 2011 GMT | (c)2011 RadGs Software |