GESCAPE code 106 specifies a portion of the display screen to dump. The syntax is:
GESCAPE PRT,106,param(*)
The param array must be a one dimensional INTEGER array of five elements. The first element is the operation number (1 = sets boundaries for the DUMP commands). The remaining elements specify the boundary for the DUMP. The boundary is specified in screen units.
param(2) - Beginning row
param(3) - Ending row
param(4) - must be zero
param(5) - must be zero
The CONFIGURE DUMP, PLOTTER IS CRT,"INTERNAL", and GRAPHICS INPUT IS KBD,"KBD" commands reset the row parameters back to the defaults, full screen. The CONFIGURE DUMP command must be executed before the GESCAPE command. The following program demonstrates this capability:
10 INTEGER A(1:5)
20 A(1)=1 ! select code-always 1
30 A(2)=100 ! begin row-screen units
40 A(3)=300 ! End_row-screen units
50 A(4)=0 ! reserved
60 A(5)=0 ! reserved
70 DUMP DEVICE IS PRT
80 CONFIGURE DUMP TO "PCL"
90 GESCAPE PRT,106,A(*)
100 FRAME
110 MOVE 0,0
120 DRAW 480,480
130 DUMP GRAPHICS
140 END
|