2020.2

Table Of Contents
the data */
curPage++;
} else if(curLine.startsWith("LOAD FACTOR")) { /* Extracts data to
the curLine variable until the string "LOAD FACTOR" is encountered
*/
break;
} else {
lineArray.push(curLine); /* Adds the current line value
(extraction) to the array */
}
currentPage
Property of the steps object (see "steps" on page409) containing an integer value that
represents the page where the pointer is located, inside the current record.
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409).
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
Page 411