VMS Help  —  MACRO  /ALPHA  Directives  .WARN
    Warning directive

    Format

      .WARN  quoted-literal

1  –  Parameter

 quoted-literal

    The string of characters enclosed in quotes are displayed during
    assembly.

2  –  Description

    .WARN causes the assembler to display a warning message on the
    terminal or in the batch log file, and in the listing file (if
    there is one).

3  –  Notes

    o  .PRINT, .WARN, and .ERROR are directives that display
       messages. You can use them to display information indicating
       an unexpected or important assembly condition.

    o  This directive also accepts VAX MACRO syntax. See the
       VAX MACRO and Instruction Set Reference Manual for details.

4  –  Example

        .WARN "Illegal parameter value; 0 assumed"
        ^
        %MACRO64-W-
 GENWARN, Generated WARNING: Illegal parameter value; 0 assumed
        at line number 3 in file DISK$:[TEST]WARN.M64;2
Close Help