Servertec Macros
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

 

A macro represents some set of operations that result in a value.

Syntax

    macro( { expression { , expression }... } )

Notes

    macro the name of the macro to use,
    [ A..Z | a..z | _ ]{ A..Z | a..z | _ | 0..9 }...
    expression an expression to evaluate.

    iPP predefines the following macros for use with the #if directive:
    defined( ) returns whether the specified identifier or macro exists.
    exist( ) returns whether the specified file exists.

    New macros can be defined using the #define 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