Anonymous user
Loops/While: Difference between revisions
m
→Version 1, fastest: changed "dead code" to useless code, noted another REXX program error. -- ~~~~
(→{{header|REXX}}: marked as incorrect (for a multitude of reasons). -- ~~~~) |
m (→Version 1, fastest: changed "dead code" to useless code, noted another REXX program error. -- ~~~~) |
||
Line 1,083:
=={{header|REXX}}==
===Version 1, fastest===
{{incorrect|REXX| -- The program doesn't use a ''loop'' or any looping mechanism.<br>-- Program doesn't use any type of ''while'' construct.<br>-- Program doesn't do any division (by 2).<br>-- Incorrectly named version (two version 1).<br>-- Program has
<lang rexx>/*REXX program demonstrates
j=1024
Line 1,100:
/*stick a fork in it, we're done.*/</lang>
'''output'''
<pre style="height:
1024
512
Line 1,114:
stick a fork in it, we're done.
</pre>
===version 1, simple===
<lang rexx>/*REXX program demonstrates a DO WHILE with index reduction construct.*/
|