I have discovered more bugs in the GFA Compiler. It is currently being investigated and hopefully a solution can be found.
The compiler translates these to JSR 0.l and JMP 0.l, which is very bad to say the least.
' all of these have missing procedures or labels
' none of these generate compiler/linker errors!
ON BREAK GOSUB break
ON ERROR GOSUB test
ON x GOSUB proc1,proc2,proc3,proc4
ON MENU BUTTON 1,2,3 GOSUB button
ON MENU GOSUB menu
ON MENU IBOX 1,2,3,4,5 GOSUB ibox
ON MENU KEY GOSUB key
ON MENU MESSAGE GOSUB message
ON MENU OBOX 1,2,3,4,5 GOSUB obox
EVERY 2 GOSUB every
AFTER 2 GOSUB after