prog8/examples/test.p8

15 lines
274 B
Plaintext
Raw Normal View History

2021-10-13 16:55:56 +00:00
%import textio
main {
2021-10-13 16:55:56 +00:00
str myBar = "main.bar"
foo_bar:
; %asminclude "compiler/test/fixtures/foo_bar.asm22" ; FIXME: should be accessible from inside start() but give assembler error
2021-10-13 16:55:56 +00:00
sub start() {
txt.print(myBar)
txt.print(&foo_bar)
return
}
}