2.1.2 Macros

A Macro is a set of logical constructs that control the flow of the Macro and commands that are performed when the Macro is called. Each command in the Macro is specified by an action (section 2.2.5.1) and zero or more arguments (section 2.2.5.2) that modify the meaning of the action. A Macro is called by an object in the application.

A named Macro, that is, a Macro that specifies a name, exists as a database object in the Application. Objects that reference a Macro can specify either the name of a named Macro or a list of inline commands. Macro commands that are specified inline in an object specify an embedded Macro.

Macros are run in one of two contexts, as specified in the next two sections.