Loops/While: Difference between revisions

No change in size ,  12 years ago
m
→‎{{header|REXX}}: showed J & X are both integers. -- ~~~~
m (→‎{{header|REXX}}: changed condition to match task. -- ~~~~)
m (→‎{{header|REXX}}: showed J & X are both integers. -- ~~~~)
Line 879:
===version 2===
<lang rexx>/*REXX program to show a DO WHILE construct. */
jx=1024
 
do while jx>0
say right(jx,10)
jx=jx%2 /*in REXX, % is integer division. */
end</lang>
'''output'''