write
..Root.File.write
Appends data to a file. Moves read position indicator to the begin of file.
Parameters: any number of variables of type Basic
Return value: reference to this function
NativeCallable
, Callable
import("file");
auto f.=(File());
f.open("a.txt");
f.clear();
f.write("afpha beta\ngamma");
log(f.read());
log(f.read());
log(f.read());
f.write("delta");
log(f.read());
alpha
beta
gamma
alpha