SET MACROS

From Recital Documentation Wiki
Revision as of 14:36, 10 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SET MACROS

Class

Environment


Purpose

Enable or disable & macro substitution


Syntax

SET MACROS ON | OFF | (<expL>)


See Also

&, TEXT, SET EMACROS


Description

If SET MACROS is ON, then Recital substitutes & macros when command lines are read. If SET MACROS is OFF, then no macro substitution is performed. This command can be used to marginally accelerate program execution. Also, macros are normally substituted in the TEXT ... ENDTEXT command. Setting MACROS OFF disables this. See the & function for more details concerning macro substitution. By default MACROS is ON, so macro substitution is performed.


Example

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


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer