Files
prog8/examples/test.p8
Irmen de Jong bc8ba252a5 made Position line, col, endcol all 1-based
added a precise (but slow) back face culling routine to the cobra-mk3 example
2025-11-05 00:25:43 +01:00

27 lines
546 B
Lua

%import math
%import textio
main {
sub start() {
ubyte @shared st = 2
on st goto (lblA, lblB, lblC, lblD)
lblA:
txt.print("path a\n")
goto lblDone
lblB:
txt.print("path b\n")
goto 2 goto
lblC:
txt.print("path c\n")
goto lblDone
lblD:
txt.print("path d\n")
lblDone:
txt.print("done\n")
}
}