VMS Help  —  MACRO  /ALPHA  Directives  .MDELETE
    Macro deletion directive

    Format

      .MDELETE  macro-name-list

1  –  Parameter

 macro-name-list

    A list of macros whose definitions are to be deleted. You can
    separate the macros with commas or spaces.

2  –  Description

    .MDELETE deletes the definitions of specified macros.

    .MDELETE completely deletes the macro. If you delete a macro that
    is currently expanding (such as a macro that deletes itself),
    the macro name is immediately removed from the macro name table
    and the macro is marked for deletion. When the macro finishes
    expanding, it is deleted.

3  –  Example

        .MACRO FOO
        .PRINT "In macro FOO"
        .ENDM FOO
        FOO
        .MDELETE FOO
Close Help