[Implemented] CompilerIf constants ...
Posted: Sat Jul 01, 2006 5:17 pm
Hello dev team,
Would be nice to have a new CompilerIf Constant, so I can check if a program is compiled as console program:
Example:
cu, helpy
Would be nice to have a new CompilerIf Constant, so I can check if a program is compiled as console program:
Example:
Code: Select all
Macro ABORT( msg, ExitCode=0 )
CompilerIf #PB_Compiler_Console = #True
PrintN( "PROGRAM ABORTED" + #CRLF$ + msg j)
CompilerElse
MessageRequester("PROGRAM ABORTED", msg, #MB_ICONSTOP)
CompilerEndIf
End ExitCode
EndMacro