Sync
This commit is contained in:
parent
6f050a029e
commit
776bba907c
3887 changed files with 59894 additions and 7280 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. */
|
||||
8
Task/Loops-Infinite/REXX/loops-infinite-3.rexx
Normal file
8
Task/Loops-Infinite/REXX/loops-infinite-3.rexx
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/*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. */
|
||||
Loading…
Add table
Add a link
Reference in a new issue