Loops/Downward for: Difference between revisions
Content added Content deleted
(add task to ARM64 assembly Raspberry Pi) |
(Add Avail entry) |
||
Line 355: | Line 355: | ||
MsgBox % output |
MsgBox % output |
||
</lang> |
</lang> |
||
=={{header|Avail}}== |
|||
<lang Avail>For each i from 10 to 0 by -1 do [Print: āiā ++ "\n";];</lang> |
|||
Note that <code>10 to 0 by -1</code> section isn't a fixed part of the loop syntax, but a call to the <code>_to_by_</code> method, which returns a tuple of integers in a range separated by a particular step size (in this case returning <code><10, 9, 8, 7, 6, 5, 4, 3, 2, 1></code>. |
|||
=={{header|AWK}}== |
=={{header|AWK}}== |