[Implemented] New compiler constant: #PB_Compiler_Name
Posted: Fri Jun 29, 2007 11:40 pm
We do have #PB_Compiler_File, but what I would like to add is 'module testing'. I would like to test my include files by 'running' them, ie. I need to know if they are included or directly run. This could be accomplished by the following:
The current implementation forces me to include a complete path, which I obviously don't want 
Code: Select all
Procedure Test()
;
;
CompilerIf #PB_Compiler_Name = "x_lib.pb"
;
EndCompilerIf
EndProcedure
