2022.2

Table Of Contents
Perl
$Watch->Log("this is a log",3);
Watch.SetJobInfo
Sets the job information at the specified index to a specified string value. (See also: "Job Info variables"
on page239.)
Syntax
Watch.SetJobInfo(Index: Integer; Value: String)
Example
JavaScript
Watch.SetJobInfo(3, "Job info 3 Value");
VBScript
Watch.SetJobInfo 3, "Job info 3 Value"
Python
Watch.SetJobInfo(3, "Job info 3 Value")
Perl
$Watch->SetJobInfo(3, "Job info 3 Value");
Watch.SetVariable
Sets the variable to a specified string value. Note that if an undeclared variable is called using this
method, an error will be generated.
Syntax
Watch.SetVariable (Name: String; Value: String)
Example
JavaScript
Watch.SetVariable("MyVariable", "Desired value");
Watch.SetVariable("global.MyVariable", "Desired value");
VBScript
Watch.SetVariable "MyVariable", "Desired value"
Watch.SetVariable "global.MyVariable", "Desired value"/
Page 144