I have some conditional compile defines in my project file that don't seem to work. They don't produce any errors.
For example, in the project file:
And in Module1.bas:--verbose
--allow-conditionals
-EnableOutput
Module1.bas
Module2.bas
Code: Select all
Sub Main()
...
#IfDef EnableOutput
#Notice Debug Output Enabled
'turn on a flag
...
#EndIf
End Sub
As a side note, are the defines case sensitive? It seems as they are, but in such a way that if I don't capitalize the first letter, I get an error from the compiler:
Code: Select all
Error: unrecognized option - "-outputenable"
appeared on line 3 of file "definetest.pjt"
invoked from command line
>Exit code: 1