@@ELSE

Command

The @@ELSE command designates a conditional action to be performed in an @@IFSTRCMP statement. All actions placed after the @@ELSE in an @@IFSTRCMP statement are performed only if the strings compared in the @@IFSTRCMP statement do not match.

Syntax

@@ELSE...statement [ ...statement ] @@ENDIF

statementOperations to be performed depending on the results of the test

Notes

Example

@@IFSTRCMP (@@2, @_NULL) 
  @@1 
@@ELSE  
  (@@1 + @@2)
@@ENDIF

This test checks to see if the second macro argument is blank. If it is, then only the first argument is used. If the second argument is not blank, then the two arguments are added.

See Also

@@IFSTRCMP
@@ENDIF


Copyright 1991-2002 Hyperion Solutions Corporation. All rights reserved.