FireDAC.Comp.Script.TFDScriptOptions.MacroExpand
Delphi
property MacroExpand: Boolean read FMacroExpand write FMacroExpand default True;
C++
__property bool MacroExpand = {read=FMacroExpand, write=FMacroExpand, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Comp.Script.pas FireDAC.Comp.Script.hpp |
FireDAC.Comp.Script | TFDScriptOptions |
Description
Controls the macro substitution for the script engine.
Set MacroExpand to True to enable macro expansion for the script engine.
The macro substitution variables have the form &name or !name. They can appear in every place in a script, including in script names. The macro variables and their values are listed in the Macros property and can be set from the script using the DEFINE name=value command.
Also, the script arguments can be referenced using the &index or !index form. There the index is a value index from Arguments.
The default value is True.
The property can be set from a script using the SET (DEFine | SCAN) (ON | OFF)
command.