RoboTask User's Guide
Keyword Index
Home page

IconQuick Start Guide
IconSeveral practical recommendations
IconTriggering Events
IconOther software

© 2004-2020 TaskAutomation.Software

Saving the result into a variable

Top  Previous  Next

During their operation almost all actions of the RoboTask demand that their results should be assigned into user variables. In this case it is necessary to specify the variable name.

A variable name is some string composed of Latin letters (ASCII symbols) and numbers without any spaces.

It is better to specify the variable name explicitly, that is without curly brackets.

But composing of a variable name using other variables is permitted. In this case variables should be separated with curly brackets like when composing any expression in the RoboTask.

What happens if you use curly brackets in a variable name?

The RoboTask tries to compute the values of expressions in curly brackets (expand variables) and substitute the value into the expression.
Then, the got expression is checked whether it is correspond to the rules of variable names.
If the got name is correct, the RoboTask assigns the necessary value into a variable with this name.


note Related Topics

Using Variables

System variables

Custom variables

Local variables

Create a Variable

Add Variables to a Task

Rules for using variables in expressions

How to use variables correctly

Options > Variables