Servertec pp:isMacro( ) Method
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Conventions
iPP
Templates
Constants
Identifiers
Operators
Directives
Macros
Java API
_init( )
_preprocess( )
_reset( )
_wrapup( )
directiveDelimiter
define( )
displayLogo
embeddedQuotes
generateLineDirectives
getDefinition( )
getFileName( )
getIdentifiers( )
getLine( )
getLineNumber( )
getVersion( )
isDefined( )
isMacro( )
lineDelimiter
main( )
pp( )
preprocess( )
removeBlankLines
removeComments
searchPath
undefine( )
verboseMessages
warningMessages

Legal
Contact Us

 

Returns whether the specified identifier is defined as a macro.

Syntax

    pp.isMacro( String )

Parameters

    String the delimiter to check.

Returns

    boolean true is the specified delimiter is defined as a macro.

    false if it is not defined as a macro.

Exceptions

    If the specified identifier is not defined.

Notes

    pp an instance of the pp class.

      Requires that stec.pp.pp be imported.

    Example

      if(!pp.isMacro("max"))
      {
          System.err.println("max not defined.");
          System.exit(-1);
      }
      
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:56:03 EDT 2005