| Concept Framework 2.2 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: Sun Jan 27 18:15:16 2013 GMT | (c)2013 Devronium Applications |