## ALP Programming Guide and Reference

[prev][next][parent][TOC]

### ECHO Directive (Display Message on Standard Output Device)

The ECHO directive displays progress through a long assembly or displays the value of conditional assembly parameters.

Syntax

    ECHO   Text

Remarks

The assembler lists the Text entry on the standard output device during assembly when the assembler encounters the ECHO directive.

ECHO is not available under MASM 5.10 emulation; you must use %OUT, which is the obsolete spelling for the ECHO directive.

Example

Example 1:

    IF   IBM
        ECHO   IBM   VERSION
        ENDIF

    IF2
        ECHO   STARTING   SECOND   PASS
        .
        .
        .
        ENDIF

Example 2:

    INNER     MACRO      TEXT , VAL
             ECHO       TEXT   VAL
             ENDM
             .
             .
             .
    HERE      =          $   -   CSEG
             INNER      < CURRENT   LOCATION > , % HERE