ADELIA |
VADELIA |
|||
(B) |
(B) (C) |
Type
9.0 N
Use
This reserved word is associated with batch programs with one or more report layouts.
It gives the number of the page currently printed for the layout related to the last INFODS(Adelia Context or Visual Adelia and Adelia Web Contexts) 4GL instruction.
It cannot be reset during execution.
Modification by the programmer not recommended.
Note: With ADELIA programs, this reserved word is initialized by the system ONLY if a layout format was written at least once (using the EDIT or PRINT_VIEW instruction).
Example
INFODS REPORT1
IF *CURRENT_PAGE < 10
PRINT HEADER1 REPORT1
ELSE
PRINT HEADER2 REPORT1
END