This commit is contained in:
Ingy döt Net 2013-04-10 21:29:02 -07:00
parent 764da6cbbb
commit db842d013d
19005 changed files with 197040 additions and 7 deletions

View file

@ -0,0 +1,6 @@
/*REXX program to show a DO WHILE construct. */
j=1024
do while j>0
say j
j=j%2 /*in REXX, % is integer division. */
end

View file

@ -0,0 +1,6 @@
/*REXX program to show a DO WHILE construct. */
x=1024
do while x>0
say right(x,10) /*pretty up the output by aligning.*/
x=x%2 /*in REXX, % is integer division. */
end

View file

@ -0,0 +1,6 @@
/*REXX program to show a DO WHILE construct. */
x=1024
do while x>>0 /*this is an exact comparison. */
say right(x,10) /*pretty up the output by aligning.*/
x=x%2 /*in REXX, % is integer division. */
end