2022.1

Table Of Contents
Note
Boundary variables are carried over from one iteration of the Boundaries script to the
next, while native JavaScript variables are not.
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
Page 426