Skip to main content
Skip table of contents

Variable Name

Variable name represents name of the variable. It’s typically visible as value of command’s var attribute.

CODE
<set var="variableName" value="variableValue">

Variable name has several restrictions.

A variable name can consist of capital letters A-Z, lowercase letters a-z digits 0-9. The first character must not be a digit. Blank spaces and special characters can’t be used in variable names.

CODE
Valid variable name: myVariable
Invalid variable name: my-variable

Variable name can’t be reserved keyword:

CODE
and, case, or, not, eq, ne, lt, gt, le, ge, true, false, null, instanceof, empty, div, mod
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.