logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

GQOPSG (Inquire name of open segment) - returns the name of the currently open segment.

Access

       To use GKS routines, load the NCAR GKS-0A library ncarg_gks.

C-Binding Synopsis

       #include <ncarg/gks.h>

       void ginq_name_open_seg(Gint *err_ind, Gint *name_open_seg);

Description

       ERRIND      (Integer,  Output) - If the GKS state is SGOP (segment open), then ERRIND is returned as "0";
                   otherwise ERRIND is returned as "4".

       SGNA        (Integer, Output) - If the GKS state is SGOP (segment open), then SGNA  is  returned  as  the
                   number of the currently open segment; otherwise SGNA is undefined.

Name

       GQOPSG (Inquire name of open segment) - returns the name of the currently open segment.

See Also

       Online: gevtm, gactm, gclsg, gcrsg, gcsgwk, gdsg, gqsgus, gssgt., ginq_name_open_seg

       Hardcopy: "User's Guide for NCAR GKS-0A Graphics"

Synopsis

       CALL GQOPSG(ERRIND,SGNA)

See Also