Servertec defined( )
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
Legal
Contact Us

 

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
    
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:56:03 EDT 2005