VMS Help  —  MACRO  /ALPHA  Directives  .ERROR
    Error directive

    Format

      .ERROR  quoted-literal

1  –  Parameter

 quoted-literal

    A string of characters, between a pair of double quotes,
    displayed during assembly.

2  –  Description

    .ERROR causes the assembler to display an error message on the
    terminal or batch log file and in the listing file (if there is
    one).

    Using .ERROR prevents an output object file from being produced.

3  –  Notes

    o  .PRINT, .WARN, and .ERROR are directives used to display
       messages. You can use them to display information indicating
       unexpected or important conditions within the assembly.

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

4  –  Example

        .ERROR "Illegal Arguments"
        ^
        %MACRO64-E-GENERROR, Generated ERROR: Illegal Arguments
        at line number 3 in file DISK$:[TEST]ERROR.M64;2
Close Help