You are here: Automating Analyzer > Variables > User-created Variables

User-Created Variables

You can create your own variables using the Assign or Save Field commands or the Expression Builder. As with all variables, user-created variables retain their value until you change or delete them or quit Analyzer.

Note: Variables names that begin with an underscore are not deleted when you quit Analyzer. They are saved in the Analyzer Project.

Note: Variable names that begin with ASI_ are reserved and should only be used for for internal application purposes.

Note: If a field name forms part of the expression used to define a variable, the value for the field is taken from the current record at the time the variable is defined. The expression is evaluated once and the variable is assigned a value. When you subsequently move to a new record, the expression is not reevaluated.

For details on using the Assign command, see Assign. For details on using the Save Field command see Save.

To create a variable using the Expression Builder, do the following:

1. Select Edit from the menu and choose Variables. Analyzer displays the Variables dialog.
2. Click [New]. Analyzer displays the Expression Builder.
3. Define the variable in the Expression text box. For more information, see Using the Expression Builder.
4. Enter a name for the variable in the Save As text box.
5. Click [OK].