Stdio - SardonyxLang/SardonyxStd GitHub Wiki
require "stdio"
This library handles basic input/output functions, including console and file I/O.
Object Stdio
Stdio:write(s): Same asStdio:Stdout:write.Stdio:writeln(s): Same asStdio:Stdout:writeln.Stdio:readln(): Same asStdio:Stdin:readln.
Object Stdio:Stdout
Stdio:Stdout:write(s): writess, with no newline, to standard output.Stdio:Stdout:writeln(s): writessfollowed by a newline to standard output.
Object Stdio:Stdin
Stdio:Stdin:readln(): reads and returns one line from standard input.
Object Stdio:File(name)
File.write(s): writesstoname.File.writeln(s): writessfollowed by a newline toname.File.readln(): reads one line fromname.File.read(): reads all ofname.