Take notes on the command line: Difference between revisions
→{{header|Julia}}
Line 1,186:
fp = open(filename, "r")
println(read(fp, String))
close(fp)▼
else
fp = open(filename, "a+")
write(fp, string(DateTime(now()), "\n\t", join(ARGS, " "), "\n"))
end
</lang>
|