S Scubaticus Active Member Licensed User Feb 28, 2009 #1 Ignored = False Goto NoExecute NoExecute: Ignored = True Msgbox(Ignored) If 1=1 Ignored = True End If Click to expand... The "Ignored = True" after the "NoExecute" label is not processed. The compiler doesn't complain. Forgetting the "then" after the "if" gives the error "Missing Keyword: end sub" and the cursor is positioned on the "end if"
Ignored = False Goto NoExecute NoExecute: Ignored = True Msgbox(Ignored) If 1=1 Ignored = True End If Click to expand... The "Ignored = True" after the "NoExecute" label is not processed. The compiler doesn't complain. Forgetting the "then" after the "if" gives the error "Missing Keyword: end sub" and the cursor is positioned on the "end if"
Erel B4X founder Staff member Licensed User Longtime User Feb 28, 2009 #2 Thanks. The first issue will be fixed in the next version.