Parameters and Local variables
Parameters and local variables are used to send data to a macro, and to retrieve a result from the macro.
Parameters
Adds a list of parameters that are required to be supplied to the macro.
Set the Name and type of the parameters.
Parameters can be added, edited or deleted.
Local Variables
Adds a list of variables that are required to be used by the macro.
This sets them to be macro specific so that similarly named variables in other macros do not accidentally modify the ones used in this particular macro.
Set the Name and type of the local variables.
Local Variables can be added, edited or deleted.
Adding a parameter or local variable
Click the ADD button to bring up the Variable creation screen.
Select the type of variable to be used, and enter a unique name for the variable.
Note: the name needs to be unique to the macro, but several macros could have the same local variable name e.g. Count in their variables list.
Editing a variable
Select the EDIT button next to a variable to edit the variable type and name.
Deleting a variable
Select the DELETE button next to a variable to delete the variable.