Servertec defined( )
M E N U

Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Conventions
iMake
Make Files
Constants
Identifiers
Operators
Directives
Statements
Macros
Inference 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

    iMake 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 iMake Copyright © 1997-1998 Servertec. All rights reserved.
Last Modified: Sun Aug 23 19:52:09 PDT 1998