Servertec defined( )
M E N U

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( )

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
    
top of page
Built with iScript Copyright © 1997-1998 Servertec. All rights reserved.
Last Modified: Sun Aug 23 19:54:00 PDT 1998