03-17-2010, 08:21 AM
I was also thinking a different approach: Tell the compiler which SUBs, FUNCs and vars it requires:
Both solutions (yours and mine) are OK. So I think I can implement when the next release is out.
Code:
DIM Var1, Var2 AS uByte : REM Required vars
SUB mysub
ASM
[...]
END ASM
END SUB
ASM
[...]
END ASM (mysub, Var1, Var2) : REM Tells what this block requires
Both solutions (yours and mine) are OK. So I think I can implement when the next release is out.