mirror of
https://github.com/irmen/prog8.git
synced 2024-12-11 19:49:45 +00:00
14 lines
307 B
Lua
14 lines
307 B
Lua
%import textio
|
|
main {
|
|
str myBar = "main.bar"
|
|
;foo_bar:
|
|
; %asminclude "foo_bar.asm" ; TODO: should be accessible from inside start() but give assembler error. See github issue #62
|
|
sub start() {
|
|
txt.print(myBar)
|
|
txt.print(&foo_bar)
|
|
return
|
|
foo_bar:
|
|
%asminclude "foo_bar.asm"
|
|
}
|
|
}
|