#ifundefined
Test if a constant has not been defined.
#ifundefined Constant
< Precompiler directives and ProcScript statements >
#endif
Parameters
Constant—contant name
Description
The #ifundefined directive can be used to create a block of ProcScript statements and precompiler directives whenever the constant specified does not already exist.
In the following code, if the
constant
<DEBUG_ALLOWED>
has not been defined, a compiler information
message is generated and a
nodebug ProcScript statement is generated and compiled.
#ifundefined DEBUG_ALLOWED #info Debugging not enabled. nodebug #endif