The IfNotDefined...EndIf command allows macro statements to be run on a conditional basis. If the variable referenced by the IfNotDefined...EndIf command has been cleared using the ClearVar or ClearAllVars, the macro statements will be run.


IfNotDefined, 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 cleared, 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.

Documentation Feedback