A set of instructions that can be called with parameters to run in the current scope.


A Macro is declared in a separate block, similar to a Method or Function.

When a Macro is called, it effectively replaces the Macro call with the lines of code, inserting parameter values where applicable.

A Macro uses the current scope where it is run; a Macro does not have its own work query, etc.


Macro mMyMac(pOne, pTwo, pThree)
    [Ensure] Stuff, OtherStuff, MoreStuff
    Stuff = pOne
    pTwo = pThree
OtherStuff = MoreStuff
End Macro