This method sets the value defined in Value for the variable specified by the string in VarName.
- VarName
- String value representing a variable.
- Value
- Variable value representing the new value the variable will take.
Boolean value: TRUE if the variable was set, FALSE otherwise.
PC-DMIS variables only hold values during execution; at learn time PC-DMIS variables have a value of zero. The GetVariableValue and SetVariableValue methods only change a variable's value during the script's execution. If you want to permanently change a value of a variable inside PC-DMIS, you should use the PutText method instead.