Servertec Directives
M E N U

Content
Introduction
Release Notes
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Referance Manual
Conventions
Templates
Constants
Identifiers
Operators
Directives
## // /* */
#define
#error
#if{def|ndef}
#include
#message
#undef

iPP
Legal
Feedback

 


A directive is an complete instruction to the preprocessor.

Directives

[ ## | // | /* */ ] Used for documentation comments.
#define Used to define an identifier.
#error Used to display an error and stop preprocessor.
[ #if | #ifdef | #ifndef ] Used for conditional compilation.
#include Used to include a file.
#message Used to display a message.
#undef Used to undefined a previously defined identifier.

Example

#include <init.h>

#ifndef MAX
    #define MAX(a,v)    ((a>=b)?a:b)
#endif

#define display(msg)    System.out.println(msg)
top of page
Built with iScript Copyright © 1997-1998 Servertec. All rights reserved.
Last Modified: Tue Jun 30 00:17:54 PDT 1998