Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Input-loop/Modula-3/input-loop.mod3
Normal file
14
Task/Input-loop/Modula-3/input-loop.mod3
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
MODULE Output EXPORTS Main;
|
||||
|
||||
IMPORT Rd, Wr, Stdio;
|
||||
|
||||
VAR buf: TEXT;
|
||||
|
||||
<*FATAL ANY*>
|
||||
|
||||
BEGIN
|
||||
WHILE NOT Rd.EOF(Stdio.stdin) DO
|
||||
buf := Rd.GetLine(Stdio.stdin);
|
||||
Wr.PutText(Stdio.stdout, buf);
|
||||
END;
|
||||
END Output.
|
||||
Loading…
Add table
Add a link
Reference in a new issue