9 lines
246 B
Text
9 lines
246 B
Text
const notesName="NOTES.TXT";
|
|
args:=vm.arglist;
|
|
if (not args)
|
|
{ try{ File(notesName).read(*).text.print(); } catch{println("no file")} }
|
|
else{
|
|
f:=File(notesName,"a+");
|
|
f.writeln(Time.Date.ctime(),"\n\t",args.concat(" "));
|
|
f.close();
|
|
}
|