This commit is contained in:
Irmen de Jong 2020-09-18 23:38:50 +02:00
parent e6d945f835
commit d819aa270f

View File

@ -17,35 +17,5 @@ main {
sub start() {
ubyte edgeIdx=0
ubyte i
; TODO the following gives the correct output:
for i in 2 downto 0 {
ubyte e1
ubyte e2
e1 = edgeIdx
edgeIdx ++
e2 = edgeIdx
edgeIdx ++
txt.print_ub(e1)
c64.CHROUT(',')
txt.print_ub(e2)
c64.CHROUT('\n')
}
c64.CHROUT('\n')
edgeIdx=0
; TODO however with inline vardecl initializers the result is WRONG:
for i in 2 downto 0 {
ubyte e1 = edgeIdx
edgeIdx++
ubyte e2 = edgeIdx
edgeIdx++
txt.print_ub(e1)
c64.CHROUT(',')
txt.print_ub(e2)
c64.CHROUT('\n')
}
}
}