The IfDefined...EndIf command allows macro statements to be run on a conditional basis. If the variable referenced by the IfDefined...EndIf command has been created and set using the SetVar command, the macro statements will be run.
IfDefined, variable statements EndIf
• variable - A variable is a boolean value that consists of an alphabetic string up to 30 characters in length. Variable names are case-sensitive. If the variable is set, the macro statements will be run.
• statements - Any valid macro statements
Variables that have been created exist for the life of the Dexterity session. Variables created, set or cleared in one macro can be referenced in other macros.
This macro command is never recorded in a macro. It must be added by editing the macro.