GDDM-GKS V1R1 Programming Guide and Reference
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
GQPLF GDDM-GKS V1R1 Programming Guide and Reference SC33-0334-00 |
|||||||||||||
Purpose
Function: To inquire polyline facilities. Inquiry function. Returns values giving the polyline facilities available for a given workstation type, from the workstation description table. Parameters wtype (specified by user) (fullword integer)
n (specified by user) (fullword integer)
errind (returned by GDDM) (fullword integer)
nlt (returned by GDDM) (fullword integer)
lt (returned by GDDM) (fullword integer)
nlw (returned by GDDM) (fullword integer)
nomlw (returned by GDDM) (short floating point)
rlwmin (returned by GDDM) (short floating point)
rlwmax (returned by GDDM) (short floating point)
nppli (returned by GDDM) (fullword integer)
Operating states GKOP, WSOP, WSAC, SGOP Related functions Set linetype (GSLN), Set linewidth scale factor (GSLWSC), Set polyline index (GSPLI) Description If the inquired information is available, it is returned as output, and errind is returned as 0 (zero). If the inquired information is not available, all output is invalid, and errind returns an error indicator. If the number of available line widths is returned as 0 (zero), the workstation supports a continuous range of line widths. The available line types are contained in the workstation description table. GQPLF returns element n of the list. You can obtain the entire list using the logic of the following example. Make an initial call to GQPLF with n = 0. The output includes the total number of available line types (nlt). Now make repeated calls to GQPLF until you have accumulated list elements equal to the total number of types. Here is an example:
n=0
GQPLF (wtype, n, errind, nlt, lt, nlw,
*nomlw, rlwmin, rlwmax, nppli)
DO 55 n = 1, nlt
GQPLF (wtype, n, errind, nlt, lt, nlw,
*nomlw, rlwmin, rlwmax, nppli)
WRITE ( *, 50) lt
50 FORMAT (' lt', I6)
55 CONTINUE
Principal errors
|
Copyright IBM Corporation 1990, 2012 |