NUMGRAPH

Finds the number of graphs in the current catalog
Operating state: GKOP, SGOP, WSAC, WSOP

Syntax

CALL GASK('NUMGRAPH', n, return-code-variable);

Required Arguments

n
numeric variable name; returns the number of graphs in the current catalog.
return-code-variable
numeric variable name; returns the return code of the routine call, which can be 0 or 8. See Return Codes for DSGI Routines and Functions.

Details

CALL GASK ('MAXDISP', units, x-dim, y-dim, x-pixels, y-pixels, return-code-variable);The GASK('NUMGRAPH', . . . ) routine returns how many graphs are in the current catalog. The catalog checked is the catalog selected in the GSET('CATALOG', . . . ) function, if specified. Otherwise, it is the default catalog, WORK.GSEG.