Difference between revisions of "SET EMACROS"

From Recital Documentation Wiki
Jump to: navigation, search
Line 39: Line 39:
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Set_Commands|EMACROS]]
 
[[Category:Set_Commands|EMACROS]]
 +
[[Category:Environment]]
 +
[[Category:Environment Set Commands]]

Revision as of 11:02, 2 June 2009

Class

Environment


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


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer