Concept Framework 2.2 documentation | Contents | Index |
Name | Version | Deprecated |
remove | version 1.0 | no |
number remove(string path) |
path | [in] Path of file to be removed |
The remove function deletes the file or directory specified by path. All handles to a file must be closed before it can be deleted. See also _unlink and _rmdir. |
import standard.C.io define FILENAME "test.txt" class Main { function Main() { if (remove(FILENAME)) echo "Could not delete "+FILENAME; else echo "Deleted "+FILENAME; } } Results Deleted test.txt |
Documented by Simona Plesuvu, generation time: Sun Jan 27 18:15:16 2013 GMT | (c)2013 Devronium Applications |