if (sys.page_isfull(6)) {
sys.page();
sys.push_prog("pagehdr");
sys.push_prog("rpthdr");
}
sys.page_ofst = sys.get_linenum() + 1;
or
if (sys.page_isfull()) {
sys.page();
sys.push_prog("pagehdr");
sys.push_prog("rpthdr");
}
$row_ofst = sys.get_linenum() + 1;