2019.2

Table Of Contents
Example
In this example, an extraction area is assigned to the variable curLine each time the current
page value has changed.
curPage = steps.currentPage;
for(i=0;i<100;i++) {
if(steps.currentPage > curPage) {
let curLine = data.extract(51, 88, 0, 1, "").trim();
curPage++;
}
}
moveTo()
Moves the position of the pointer in the source data file. This is a method of the steps object
(see "steps" on page432).
moveTo(scope, verticalPosition)
Moves the current position in a text file to verticalPosition where the meaning of
verticalPosition changes according to the value specified for scope.
scope
Number that may be set to:
l 0 or steps.MOVELINES
l 1 or steps.MOVEDELIMITERS
l 2: next line with content
verticalPosition
Number. What it represents depends on the value specified for scope.
With the scope set to 0 or steps.MOVELINES, verticalPosition represents the index of the line
to move to from the top of the record.
With the scope set to 1 or steps.MOVEDELIMITERS, verticalPosition represents the index of
the delimiter (as defined in the Input Data settings) to move to from the top of the record.
Page 434