2022.2

Table Of Contents
}
}
}
setVariable()
Thismethodsetsavariableintheboundariestothespecifiedvalue,automaticallycreatingthevari-
ableifitdoesn'texistyet.
BoundaryvariablesarecarriedoverfromoneiterationoftheBoundariesscripttothenext,whilenat-
iveJavaScriptvariablesarenot.
setVariable(varName, varValue)
SetsvariablevarNametovaluevarValue.
varName
Stringnameofthevariableofwhichthevalueistobeset.
varValue
Object;valuetowhichthevariablehastobeset.
Example
Thisscriptexaminesaspecificregionandstoresitscontentsinavariableintheboundaries.
var addressRegion = region.createRegion(10, 30, 100, 50);
var addressLines = boundaries.get(addressRegion);
boundaries.setVariable("previousLines",addressLines);
data
Returnsadataobjectencapsulatingpropertiesandmethodspertainingtotheoriginaldatastream.
Properties
Thefollowingtableliststhepropertiesofthedataobject.
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PreprocessorstepthathavetheirScopesetto"Entiredata".Theseprop-
ertiesarestaticallysetatthestartofthejob.
(See"Propertiesandruntimeparameters"onpage227fordetails.)
Page 374