next up previous contents index
Next: Integrating separately written Up: General Hints for Previous: General Hints for

System and Implementation Dependencies

As mentioned elsewhere in this document certain features of GKS and GKS-3D are system or implementation dependent. System dependencies are described in the manual appropriate for the implementation in use.

The principle implementation dependencies to watch for are text fonts and fill area hatch styles but it is also possible to have difficulties by inadvertently trying to exceed some maximum value, such as a table length. GKS has many inquiry function which may be used to discover the current and/or maximum value of various parameters, and it is not the intention of the Primer to describe all of them. However, one should take note of the following routines:

CALL GQWKM(ERRIND, MXOPWK, MXACWK, MXWKAS)
 
CALL GQMNTN(ERRIND, MAXTNR)
 
CALL GQLWK(WTYPE, ERRIND, MPLBTE, MPMBTE, MTXBTE, MFABTE, MPAI, MCOLI)
    or
CALL GQLWK3(WTYPE, ERRIND, MPLBTE, MPMBTE, MTXBTE, MFABTE, MPAI,
             MEDBTE, MCOLI, MVTE)
 
CALL GQSGP(WTYPE, ERRIND, NSGP)
where the parameters are as follows:
WTYPE
workstation type (input parameter)
ERRIND
error number
MXOPWK
maximum number of simultaneously open workstations
MXACWK
maximum number of simultaneously active workstations
MXWKAS
maximum number of workstations associated with a segment
MAXTNR
maximum normalization transformation number
MPLBTE
maximum number of polyline bundle table entries
MPMBTE
maximum number of polymarker bundle table entries
MTXBTE
maximum number of text bundle table entries
MFABTE
maximum number of fill area bundle table entries
MPAI
maximum number of pattern indices
MEDBTE
maximum number of edge bundle table entries
MCOLI
maximum number of colour indices
MVTE
maximum number of view table entries
NSGP
maximum number of segment priorities
There is unfortunately no function provided to inquire the maximum available number of segments or the maximum available segment name so one must consult the relevant documentation.

Janne Saarela
Mon Apr 3 17:00:12 METDST 1995