standardio
This module provides standard I/O functions. e.g. write()
, writeln()
, read()
, etc. Note: This module is imported by default, you don't need to import it again.
There are no constants.
eof()
— Check whether the EOF flag of standard input is set or not. This is similar to C++'s ios::eof
functionread()
— Read a single sequence from standard input. This is similar to C++'s std::cin
functionreadln()
— Read a single line from standard inputwrite()
— Print value
to standard output. This is similar to C++'s std::cout
functionwriteln()
— Print value
& new line (\n
) to standard output.writer()
— Dump a value (write recursively). This function is useful for debuggingThere are no classes.