mirror of
https://github.com/irmen/prog8.git
synced 2024-11-29 17:50:35 +00:00
14 lines
286 B
Plaintext
14 lines
286 B
Plaintext
|
%import textio
|
||
|
main {
|
||
|
str myBar = "main.bar"
|
||
|
;foo_bar:
|
||
|
; %asminclude "foo_bar.asm" ; FIXME: should be accessible from inside start() but give assembler error
|
||
|
sub start() {
|
||
|
txt.print(myBar)
|
||
|
txt.print(&foo_bar)
|
||
|
return
|
||
|
foo_bar:
|
||
|
%asminclude "foo_bar.asm"
|
||
|
}
|
||
|
}
|