Maintaining variables in ACL projects

You can use the Variables dialog box to add, modify, duplicate, rename, or delete variables in your ACL project.

To maintain variables:

  1. Select Edit > Variables.

    ACL displays a list of all system and user-defined variables in the project. System variables are those created automatically by commands.

  2. If you want to add a new, user-defined variable, do the following:
    1. Click New to open the Expression Builder.
    2. Enter the expression or the value to assign to the variable in the Expression text box.
    3. Type the variable name in the Save As text box.

      If you want the variable to be permanently saved with the ACL project, preface the name with an underscore – for example, _varname. Variables with names that are not prefaced with an underscore are retained for the duration of the current ACL session only.

      Note

      Do not use non-English characters, such as é, in the names of variables. Variable names that contain non-English characters will cause scripts to fail.

    4. Click OK.
  3. If you want to work with an existing variable, select it in the list and do one of the following:
    • Click OK to modify the selected variable in the Expression Builder. The variable definition is updated when you click OK to close the Expression Builder.

    • Click Duplicate to duplicate the selected variable, and click Done to create an exact copy of the variable, or click OK to modify the expression or value used by the variable.

    • Click Rename, enter a new name in the highlighted text box, and click OK. Click Done to use the existing value of the variable, or click OK to modify the expression or value used by the variable.

    • Click Delete to delete the variable, click Delete again in the confirmation dialog box, and click Done to close the dialog box. You can use Shift+click or Ctrl+click to select multiple variables for deletion.

Related tasks
Displaying variables in ACL projects
Creating expressions using the Expression Builder
Related reference
Variables created by ACL commands


(C) 2013 ACL Services Ltd. All Rights Reserved. | Send feedback