GKS_ASSOC

Associate a graphics workstation with a parameter, and open it

Description:

Associate a graphics workstation with the specified Graphics Device Parameter and return a GKS Workstation Identifier to reference it. In GKS terms, the following actions occur – If GKS is not already open, it is opened and, if the workstation associated with the device parameter is not already open, that too is opened and activated.

Invocation

CALL GKS_ASSOC ( PNAME, MODE, WKID, STATUS )

Arguments

PNAME = CHARACTER() (Given)
Expression specifying the name of a Graphics Device Parameter.
MODE = CHARACTER() (Given)
Expression specifying the access mode - READ, WRITE or UPDATE, as appropriate.
WKID = INTEGER (Returned)
A Variable to contain the Workstation Identifier.
STATUS = INTEGER (Given and returned)
The global status.

Notes:

The facility whereby update mode does not to clear the workstation is specific to RAL GKS and is not implemented for all workstations.