Code: Select all
If IsValidLabel(MyProc)
Output '! jmp MyProc'
Else
CompilerError
EndIfI'd love it if it asked a second question - "is it a valid Integer variable? if yes jmp to that address"
Code: Select all
If IsValidLabel(MyProc)
Output '! jmp MyProc'
Else
If IsValidIntegerVariable(MyProc)
Output '! jmp [MyProc]'
Else
CompilerError
EndIf
EndIf(and yes i know PB already has ways to CALL dyn addresses, but seemingly no JMP?
Thankyou for considering


