Code 3 returns the hard-clip values and GSTORE array size. The values are returned in plotter units or pixels. The return array must be a one dimensional INTEGER array and must contain at least four elements. The first four elements of the array are assigned the values, X min, Y min, X max, Y max, respectively. For a CRT, the fifth and sixth elements give the INTEGER array dimensions needed by the GSTORE command to store the screen image.
A_return(0) - X minimum hard clip value
A_return(1) - Y minimum hard clip value
A_return(2) - X maximum hard clip value
A_return(3) - Y maximum hard clip value
A_return(4) - # of rows that GSTORE requires
A_return(5) - # of columns that GSTORE requires
The following program shows how to return the hard-clip & GSTORE values.