2020.1

Table Of Contents
setVariable(varName, varValue)
Sets variable varName to value varValue.
varName
String name of the variable of which the value is to be set.
varValue
Object; value to which the variable has to be set.
Example
This script examines a specific region and stores its contents in a variable in the boundaries.
var addressRegion = region.createRegion(10, 30, 100, 50);
var addressLines = boundaries.get(addressRegion);
boundaries.setVariable("previousLines",addressLines);
data
Returns a data object encapsulating properties and methods pertaining to the original data
stream.
Properties
The following table lists the properties of the data object.
Property Description
filename Returns the fully qualified file name of the data file, i.e. the temporary work file
being processed.
properties Returns an array of the custom properties defined in the Preprocessor step
that have their Scope set to "Entire data". These properties are statically set
at the start of the job.
(See "Properties and runtime parameters" on page224 for details.)
Methods
The following table lists the methods of the data object.
Page 385