Loops/For with a specified step: Difference between revisions
Content added Content deleted
(add fermat) |
(Added solution for Action!) |
||
Line 210: | Line 210: | ||
.include "../includeARM64.inc" |
.include "../includeARM64.inc" |
||
</lang> |
</lang> |
||
=={{header|Action!}}== |
|||
<lang Action!>PROC Main() |
|||
BYTE i |
|||
FOR i=0 TO 70 STEP 7 |
|||
DO |
|||
PrintF("%B ",i) |
|||
OD |
|||
RETURN</lang> |
|||
{{out}} |
|||
[https://gitlab.com/amarok8bit/action-rosetta-code/-/raw/master/images/For_with_a_specified_step.png Screenshot from Atari 8-bit computer] |
|||
<pre> |
|||
0 7 14 21 28 35 42 49 56 63 70 |
|||
</pre> |
|||
=={{header|Ada}}== |
=={{header|Ada}}== |