prog8/examples/test.p8

15 lines
272 B
Plaintext
Raw Normal View History

2021-10-13 18:55:56 +02:00
%import textio
main {
2021-10-13 18:55:56 +02: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
sub start() {
txt.print(myBar)
txt.print(&foo_bar)
return
}
}