prog8/examples/test.p8

15 lines
270 B
Plaintext
Raw Normal View History

%import textio
2021-05-29 13:25:17 +00:00
main {
2021-10-12 22:50:54 +00:00
str myBar = "main.bar"
2021-10-12 22:50:54 +00:00
foo_bar:
%asminclude "compiler/test/fixtures/foo_bar.asm" ; FIXME: should be accessible from inside start() but give assembler error
sub start() {
txt.print(myBar)
txt.print(&foo_bar)
return
}
}