Jump to content

Loops/Downward for: Difference between revisions

Add Avail entry
(add task to ARM64 assembly Raspberry Pi)
(Add Avail entry)
Line 355:
MsgBox % output
</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}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.