Modula-2 || Compiler & Tools || Library || Search Engine
VAR Done: BOOLEAN;
PROCEDURE Read(VAR ch: CHAR); PROCEDURE ReadAgain; PROCEDURE Write(ch: CHAR); PROCEDURE WriteLn; PROCEDURE WriteString(s: ARRAY OF CHAR);
Read reads a character and stores it in ch.
ReadAgain causes the last read character to be read again. This may be used after calling ReadCard, from InOut or ReadReal from RealInOut for rereading the terminating character.
Write writes ch to stdout.
WriteLn writes a newline character to stdout.
WriteString writes the string s to stdout.
Modula-2 || Compiler & Tools || Library || Search Engine