prog8/examples/test.p8
2023-09-23 11:42:58 +02:00

27 lines
446 B
Lua

%import textio
%import floats
main {
sub start() {
ubyte from = 10
ubyte compare=9
if from==compare
goto equal
txt.print("from is not compare\n")
equal:
ubyte end = 15
ubyte xx
for xx in from to end {
txt.print_ub(xx)
txt.spc()
}
txt.nl()
ubyte ten=9
if from!=ten
txt.print("from is not 10\n")
}
}