prog8/examples/test.p8

26 lines
423 B
Plaintext
Raw Normal View History

%import textio
2023-12-06 00:15:29 +00:00
%zeropage basicsafe
main {
2023-12-07 23:57:39 +00:00
const ubyte VAL = 11
sub start() {
2023-12-07 23:57:39 +00:00
uword w
2023-12-06 00:15:29 +00:00
2023-12-09 11:07:09 +00:00
for w in 0 to 20 {
ubyte x,y,z=13
txt.print_ub(x)
txt.spc()
txt.print_ub(y)
txt.spc()
txt.print_ub(z)
txt.spc()
txt.print_uw(w)
txt.nl()
2023-12-08 21:08:17 +00:00
x++
2023-12-09 11:07:09 +00:00
y++
z++
}
2023-11-14 17:23:37 +00:00
}
}