A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
3
Task/Input-loop/REXX/input-loop-1.rexx
Normal file
3
Task/Input-loop/REXX/input-loop-1.rexx
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
do while stream(stdin, "State") <> "NOTREADY"
|
||||
call charout ,charin(stdin)
|
||||
end
|
||||
5
Task/Input-loop/REXX/input-loop-2.rexx
Normal file
5
Task/Input-loop/REXX/input-loop-2.rexx
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
/* -- AREXX -- */
|
||||
do until eof(stdin)
|
||||
l = readln(stdin)
|
||||
say l
|
||||
end
|
||||
6
Task/Input-loop/REXX/input-loop-3.rexx
Normal file
6
Task/Input-loop/REXX/input-loop-3.rexx
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/*REXX program to read from the (console) default input stream until nul*/
|
||||
|
||||
do until _==''
|
||||
parse pull _
|
||||
end /*until ...*/
|
||||
exit /*stick a fork in it, we're done.*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue