Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 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
|
||||
4
Task/Input-loop/REXX/input-loop-2.rexx
Normal file
4
Task/Input-loop/REXX/input-loop-2.rexx
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
Do Until input=''
|
||||
input=linein(stdin)
|
||||
Call lineout ,input
|
||||
End
|
||||
5
Task/Input-loop/REXX/input-loop-3.rexx
Normal file
5
Task/Input-loop/REXX/input-loop-3.rexx
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
/* -- AREXX -- */
|
||||
do until eof(stdin)
|
||||
l = readln(stdin)
|
||||
say l
|
||||
end
|
||||
4
Task/Input-loop/REXX/input-loop-4.rexx
Normal file
4
Task/Input-loop/REXX/input-loop-4.rexx
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
/*REXX program reads from the (console) default input stream until null*/
|
||||
do until _==''
|
||||
parse pull _
|
||||
end /*until*/ /*stick a fork in it, we're done.*/
|
||||
4
Task/Input-loop/REXX/input-loop-5.rexx
Normal file
4
Task/Input-loop/REXX/input-loop-5.rexx
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
/*REXX program reads from the (console) default input stream until null*/
|
||||
do until _==''
|
||||
_= linein()
|
||||
end /*until*/ /*stick a fork in it, we're done.*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue