Feedback

  • Contents
 

Assignment Tool

This Basic tool declares a variable and assigns a value to that new variable or to an existing variable. The assigned value can be the value of another variable, a literal value, or a complex expression constructed with the Expression Editor Assistant. For example, an assignment step might copy the value "John" to the contents of the variable 'FirstName'. Once you declare a variable, it is available to all steps throughout the handler.

Note: Once you have declared a variable in a handler, you cannot delete that variable. It will still be available throughout the handler.

Statement Page

From the Statement page you can declare a new variable and assign it a value, or select an existing variable and assign a value to it.

Variable

The name of the variable you are creating or assigning a value to. You can select new from the drop-down list to declare a new variable. The variables that appear in this list are variables that you have already declared in this handler or subroutine.

Value

Type a literal value for the variable, or create a complex expression using the Expression Editor Assistant. You can only assign values that are legal for the type of variable you selected in the previous step. For example, if the variable type is String, then the value must be string in quotes.

Exit Paths

Next

This step always exits along the Next exit path.

Related Topics

Data types

Expression Editor Assistant