Variable-Assignment
Command Description
The variables on the left side of the equation are modified to the value of the right, the right side of the equation can be an immediate value, expression, command output, etc
Command Prototype
varName = varValue
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
varName | True | id | temp | Variable Name |
varValue | True | expression | "" | Variable value |
Demo
TracePrint("------------------------------------Variable assignment--------- ----------------------------------")
//--------------------------------------------------------------------------------------------
//[Remarks] Modify the variable on the left side of the equation to the value on the right side, and the right side of the equation can be immediate value, expression, command output, etc.
Dim a="UiBot"
TracePrint "Assign UiBot to variable a"