Assign
Step In-Place Editing
To edit an Assign script step:
Select the step in the Script Steps table. Edit the step parameters as follows:
- Session: This column displays no session at all.
- Return variable: This column displays the name of the script variable that is assigned a value or a Tcl expression.
A new variable can be specified by clicking into the column and defining it in-place.
Alternatively, click the
button that displays a drop-down pane listing all defined variables, then click the
button to select a variable.
- Command String: This column displays the numeric value or the Tcl expression assigned to the variable.
Click into the column and define an expression by editing it in-place.
Alternatively, click the
button and create a valid expression using the Expression Builder GUI, as described in Using the Composer Expression Builder.
Examples:
Assign i 10 // number assignment
Assign str "string with spaces" // string assignment
Assign a $b //variable assignment
Assign lst {1 2 3 4} // list assignment
Assign lst {1 2 {one two} 3} //composite list assignment
Assign result [expr {$a +$b}] // expression assignment
Assign lst [list a b c d] // tcl command assignment
Assign path [pwd] // tcl command assignment
Assign time [clock seconds] //tcl command assignment
IxLoad TestComposer │ User Guide |