VMS Help  —  MACRO  /ALPHA  Directives  .IF  Parameters
 condition

    A specified condition that must be met if the block is to be
    included in the assembly. The condition must be separated from
    the argument by a comma, space, or tab.

 argument(s)

    One or more symbolic arguments or expressions of the specified
    conditional test. If the argument is an expression, it cannot
    contain any undefined symbols. The assembler converts relocatable
    arguments to absolute arguments by discarding the relocatable
    portion of the expression and using only the offset from the
    beginning of the psect. Arguments must be separated by a comma.

 range

    The block of source code that is conditionally included in the
    assembly.

    Table 7 Condition Tests for Conditional Assembly Directives

                                                             Condition
    Condition       Complement                     Number    That
    Test            Condition           Argument   of        Assembles
                    Test                Type       Arguments Block

    Long      Short               Short
    Form      Form  Long Form     Form

    EQUAL     EQ    NOT_EQUAL     NE    Expression 1 or 2    Expression-
                                                             1 is
                                                             equal to
                                                             expression-
                                                             2 or not
                                                             equal to
                                                             expression-
                                                             2.
    GREATER   GT    LESS_EQUAL    LE    Expression 1 or 2    Expression-
                                                             1 is
                                                             greater
                                                             than
                                                             expression-
                                                             2 or
                                                             less
                                                             than or
                                                             equal to
                                                             expression-
                                                             2.
    LESS_     LT    GREATER_      GE    Expression 1 or 2    Expression-
    THAN            EQUAL                                    1 is
                                                             less
                                                             than
                                                             expression-
                                                             2 or
                                                             greater
                                                             than or
                                                             equal to
                                                             expression-
                                                             2.
    DEFINED   DF    NOT_DEFINED   NDF   Symbolic   1         Symbol
                                                             is
                                                             defined
                                                             or not
                                                             defined.
    BLANK     B     NOT_BLANK     NB    Macro      1         Argument
                                                             is blank
                                                             or not
                                                             blank.
    IDENTICAL IDN   DIFFERENT     DIF   Macro      2         Arguments
                                                             are
                                                             identi-
                                                             cal or
                                                             differ-
                                                             ent.
Close Help