mirror of
https://github.com/irmen/prog8.git
synced 2024-10-18 01:24:51 +00:00
23 lines
359 B
Lua
23 lines
359 B
Lua
%import textio
|
|
%import string
|
|
%zeropage basicsafe
|
|
%import test_stack
|
|
%option no_sysinit
|
|
|
|
main {
|
|
|
|
sub start() {
|
|
ubyte xx=existing_entry(1,2)
|
|
}
|
|
|
|
; TODO FIX COMPILER ERROR ABOUT MISSING RETURN
|
|
|
|
sub existing_entry(ubyte hash, uword symbol) -> ubyte {
|
|
if hash>10
|
|
return 44
|
|
else
|
|
return false
|
|
}
|
|
}
|
|
|