Difference between revisions of "Z80:Directives:FOR"
From Learn @ Cemetech
Jump to navigationJump to search (Initial automated import) |
(No difference)
|
Latest revision as of 17:02, 5 February 2016
Repeats a series of statements in a loop.
Syntax
Can be used like in C:
.for i=0, i<10, ++i .echoln i, "..." .loop .echoln "Blast off!"
Or like in BASIC:
.for i is 10 to 1 .echoln i, "..." .loop .echoln "Blast off!"
See Also