@@ELSE

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

Where statementis operations 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