readAll
..Root.File.readAll
Returns the contents of the file.
String
NativeCallable
, Callable
import("file");
auto f.=(File());
f.open("a.txt");
f.clear();
f.write("Mad scientist.");
if (f.read().==("Mad").&&(f.readAll().==("Mad scientist.")), {
log("Ok");
}, {
log("Error");
})