Code: Select all
Procedure this_is_OK()
ProcedureReturn 1
EndProcedure
Procedure Do_This()
Debug "busy doing this"
EndProcedure
CompilerIf #PB_Compiler_Debugger
Procedure And_That()
Debug "...and that, as well"
EndProcedure
CompilerEndIf
If this_is_OK()
Do_This()
And_That()
EndIf
End
(1) If you compile/run, the above code works fine
(2) If you run a syntaxCheck, you get an error message; i was expecting the syntax check to report the same result as the compiler.
Is this the expected behaviour ?
Or should it be reported as a bug ?