Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
18
Task/Input-loop/ALGOL-68/input-loop-2.alg
Normal file
18
Task/Input-loop/ALGOL-68/input-loop-2.alg
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
main:(
|
||||
PROC raise logical file end = (REF FILE f) BOOL: ( except logical file end );
|
||||
on logical file end(stand in, raise logical file end);
|
||||
DO
|
||||
PROC raise page end = (REF FILE f) BOOL: ( except page end );
|
||||
on page end(stand in, raise page end);
|
||||
DO
|
||||
print(read string);
|
||||
read(new line);
|
||||
print(new line)
|
||||
OD;
|
||||
except page end:
|
||||
read(new page);
|
||||
print(new page)
|
||||
OD;
|
||||
except logical file end:
|
||||
SKIP
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue