Page 1 of 1

[Implemented] CompilerIf ... if constant not defined ...

Posted: Tue Oct 21, 2003 9:27 am
by helpy
If a constant is not defined, it would be nice, if the compiler directives interpret them as false:

Code: Select all

CompilerIf #Constant
   ;... #Constant is defined and is not null
CompilerElse
   ;... if #Constant is not defined or if it is null
CompilerEndIf
cu, helpy

(Implemented as 'Defined()')

Re: CompilerIf ... if constant not defined ...

Posted: Sun Oct 26, 2003 8:56 am
by horst
I strongly support this request.
It is very useful for included files with a number
of small procedures and declarations, so I don't
have to specify everything I <b>don't</b> want in
the main file.

Posted: Sun Oct 26, 2003 10:12 am
by GPI
Better would be

Code: Select all

CompilerIfDef