SET EMACROS

From Lianjapedia
Jump to: navigation, search

Purpose

Enable or disable & macro substitution

Syntax

SET EMACROS ON | OFF | (<expL>)

See Also

&, SET MACROS, TEXT

Description

The SET EMACROS command is synonymous with SET MACROS. If SET EMACROS is ON, & macros are substituted when command lines are read. If SET EMACROS is OFF, then no macro substitution is performed.

SET EMACROS OFF can be used to marginally accelerate program execution and also disable macro substitution in TEXT...ENDTEXT blocks.

By default, SET EMACROS is ON.

Example

set emacros off
text
The & command is used to perform
macro substitution of the contents
of memory variables.
endtext
set emacros on