mirror of
https://github.com/irmen/prog8.git
synced 2024-11-30 08:52:30 +00:00
15 lines
274 B
Lua
15 lines
274 B
Lua
%import textio
|
|
|
|
main {
|
|
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
|
|
}
|
|
}
|