IfNotDefined...EndIf

Examples


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.

Syntax

IfNotDefined, variable statements EndIf

Parameters

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

Comments

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