GKS_GSTAT

Inquire whether GKS has reported an error

Description:

Check whether a GKS error has been reported since the last time this routine was called. If it has, set STATUS to GKS__ERROR, and cancel the GKS error state.

Invocation

CALL GKS_GSTAT ( STATUS )

Arguments

STATUS = INTEGER (Given and returned)
The global status.

Notes:

The global status will be set to GKS__ERROR if GKS has reported an error; otherwise it will be unchanged. If the given value of STATUS is not SAI__OK, then the routine will return without action.