Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
7
Task/Loops-Infinite/REXX/loops-infinite-1.rexx
Normal file
7
Task/Loops-Infinite/REXX/loops-infinite-1.rexx
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/*REXX program displays the word SPAM forever. */
|
||||
|
||||
do forever
|
||||
say 'SPAM'
|
||||
end /*DO forever*/
|
||||
/*control will never reach here. */
|
||||
/*don't stick a fork in it. */
|
||||
7
Task/Loops-Infinite/REXX/loops-infinite-2.rexx
Normal file
7
Task/Loops-Infinite/REXX/loops-infinite-2.rexx
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/*REXX program displays the word SPAM forever. */
|
||||
|
||||
do while 1==1 /*esoteric "forever" clause. */
|
||||
say 'SPAM'
|
||||
end /*DO while 1==1*/
|
||||
/*control will never reach here. */
|
||||
/*don't stick a fork in it. */
|
||||
7
Task/Loops-Infinite/REXX/loops-infinite-3.rexx
Normal file
7
Task/Loops-Infinite/REXX/loops-infinite-3.rexx
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/*REXX program displays the word SPAM forever. */
|
||||
|
||||
tell_it: say 'SPAM'
|
||||
signal tell_it /*REXX's version of a GO TO */
|
||||
|
||||
/*control will never reach here. */
|
||||
/*don't stick a fork in it. */
|
||||
7
Task/Loops-Infinite/REXX/loops-infinite-4.rexx
Normal file
7
Task/Loops-Infinite/REXX/loops-infinite-4.rexx
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/*REXX program displays the word SPAM forever. */
|
||||
|
||||
do until 0>1 /*too-clever-by-half forever loop*/
|
||||
say 'SPAM'
|
||||
end /*DO until 0>1*/
|
||||
/*control will never reach here. */
|
||||
/*don't stick a fork in it. */
|
||||
Loading…
Add table
Add a link
Reference in a new issue