Processing math: 100%

SGS_OPEN

Open graphics

ACTION:
Performs all GKS calls necessary to get the specified workstation open and active. Also sets defaults for various attributes and should therefore be used if other SGS routines are called. It is intended to be used at the beginning of graphics.
CALL:
SGS_OPEN(wkstn,izonid,istat)
INPUT PARAMETERS:

wkstn

C

Workstation name: a character string which translates ultimately into GKS workstation sequence number and connection identifier. See SUN/57 for full details of formats supported; simplest is the two numbers as decimals separated by a comma.

OUTPUT PARAMETERS:

izonid

I

Zone identifier for the base SGS zone on this workstation; allocated by SGS.

istat

I

If workstation is opened OK, then this value is zero.

GKS EFFECT:
If GKS is already open it is left open; otherwise it is opened with logical unit 22 as the error channel. The specified workstation is opened and activated. Maximum deferral is requested. An SGS base zone filling the display surface is set up. The polyline aspect source flags are set to bundled and the marker and text aspect source flags set to individual.