1.6

Table Of Contents
if(!(boundaries.Eof || boundaries.Bof)){
var recordValue = boundaries.get(region.createRegion('ID'))[0];
if(!(recordValue==boundaries.getVariable('lastValue'))){
boundaries.setVariable('lastValue',recordValue);
boundaries.set(0);
}
}
currentLoopCounter()
Returns an integer value representing the current iteration of the containing loop. When loops
are nested, you have access to the iteration for the current loop but not to any of the parent
loops.
Example
currentPage()
Returns an integer value representing the current page where the current position is located,
inside the current record.
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++;
}
}
currentPageHeight()
Returns the height of the current page in millimeters.
Example
currentPageHeight()
Returns the height of the current page in millimeters.
Page 244