Loops/While: Difference between revisions

m
→‎version 2, right justified: changed indentation in section header comments. -- ~~~~
m (→‎version 2, right justified: changed indentation in section header comments. -- ~~~~)
Line 1,145:
===version 2, right justified===
Note that a faster version could be implemented with
<br>::::: '''DO WHILE x\==0'''
<br>but that isn't compliant with the wording of the task.
<lang rexx>/*REXX program to show a DO WHILE construct. */
x=1024
Line 1,167:
1
</pre>
 
===version 3, faster WHILE comparison===
<lang rexx>/*REXX program to show a DO WHILE construct. */