prog8/examples/test.p8
Irmen de Jong e94319145f test
2023-01-26 01:41:44 +01:00

23 lines
317 B
Lua

%import textio
%option no_sysinit
%zeropage basicsafe
main {
sub start() {
rsavex()
ubyte @shared ub
main.normalfoo.arg=99
void normalfoo(42)
somelabel:
ub++
txt.print_ub(ub)
}
sub normalfoo(ubyte arg) -> ubyte {
arg++
return 42
}
}