mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Fix typos in rgbasm(5)
This commit is contained in:
@@ -1719,7 +1719,7 @@ ENDR
|
|||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
It acts just as if you had done:
|
It acts just as if you had done:
|
||||||
.Bd -literal -offset ident
|
.Bd -literal -offset indent
|
||||||
N = 0
|
N = 0
|
||||||
dw N * N
|
dw N * N
|
||||||
N = 1
|
N = 1
|
||||||
@@ -1757,6 +1757,7 @@ FOR V, 4, 25, 5
|
|||||||
ENDR
|
ENDR
|
||||||
PRINTLN "done {d:V}"
|
PRINTLN "done {d:V}"
|
||||||
.Ed
|
.Ed
|
||||||
|
.Pp
|
||||||
This will print:
|
This will print:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
4 9 14 19 24 done 29
|
4 9 14 19 24 done 29
|
||||||
@@ -1794,6 +1795,7 @@ FOR V, 1, 100
|
|||||||
ENDR
|
ENDR
|
||||||
PRINTLN "done {d:V}"
|
PRINTLN "done {d:V}"
|
||||||
.Ed
|
.Ed
|
||||||
|
.Pp
|
||||||
This will print:
|
This will print:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
1, 2, 3, 4, 5 stop! done 5
|
1, 2, 3, 4, 5 stop! done 5
|
||||||
|
|||||||
Reference in New Issue
Block a user