mirror of
https://github.com/irmen/prog8.git
synced 2024-08-19 14:29:17 +00:00
17 lines
223 B
Lua
17 lines
223 B
Lua
%import textio
|
|
main {
|
|
str myBar = "main.bar"
|
|
|
|
foo_bar:
|
|
%asminclude "foo_bar.asm"
|
|
|
|
sub start() {
|
|
txt.print(myBar)
|
|
txt.print(&foo_bar)
|
|
return
|
|
|
|
foo_bar_inside_start:
|
|
%asminclude "foo_bar.asm"
|
|
}
|
|
}
|