SET EMACROS

From Lianjapedia
Revision as of 06:59, 4 February 2013 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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