Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Conventions
iPP
Templates
Constants
Identifiers
Operators
Directives
Macros
defined( )
exist( )
Java API
Sales
Legal
Feedback
|
Returns whether the specified identifier or macro is defined.
Syntax
defined( identifier | macro )
Parameters
identifier
|
the name of the identifier to check.
|
macro
|
the name of the macro to check.
|
Returns
boolean
|
true if the specified identifier or macro is defined.
false if the specified identifier or macro is not defined.
|
Notes
iPP predefined the above macro for use with the #if directive.
Example
#if !(defined(OS) || defined(VERSION))
#error release not setup properly
#endif
|
|