Anonymous user
Loop structures: Difference between revisions
→{{header|REXX}}: added the REXX language for a N times loop.
(→SIMPOL) |
(→{{header|REXX}}: added the REXX language for a N times loop.) |
||
Line 729:
repeat <come_condition> until
<some_process>
=={{header|REXX}}==
===repeat===
This example shows how to perform a loop for one million times.
<lang rexx>n= 1000000
x= 1
y= 12
z= 0
do n
z=someFunction(z, x, y)
end /*n*/</lang> <br><br>
==[[Seed7]]==
|