Servertec pp:isDefined( ) Method
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

Return

 

Returns whether the specified identifier is defined.

Syntax

    pp.isDefined( Sting )

Parameters

    String the delimiter to check.

Returns

    boolean true is the specified delimiter is defined.

    false if it is not defined.

Exceptions

    None.

Notes

    pp an instance of the pp class.

      Requires that stec.pp.pp be imported.

    Example

      if(!pp.isDefined("max"))
      {
          pp.define("max(a, b)  ((a > b) ? a : b)");
      }
      
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Mon Sep 05 14:25:37 EDT 2005