Commands enable you to code simple statements in your scripts. The commands are displayed when you open the Commands folder in the Commands list box of the Add Script Field or Update Script Field dialogs, as shown in the following image.
Commands are available only for full scripts.
The commands are listed in the following table.
Command | Purpose | Enables you to… |
---|---|---|
if then | Create conditional instructions that execute action if the condition is true. | |
if then else | Create conditional instructions that execute actions if the condition is true or another set of actions if the condition is false. | |
:= | Assignment | Assign a value to a variable; for example, result := {Clients::address1}. |
// | Comment | Include comment lines in your scripts. |