SAS Component Language Dictionary |
Category: | SAS System Option |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
num-stmts=GGLOBALN(stmt-type); |
contains the number of SYMBOL, PATTERN, LEGEND, or AXIS definitions that are currently defined.
specifies the type of statement to return:
Details |
Information about SYMBOL, PATTERN, LEGEND, or AXIS statements is stored in an internal table and can be retrieved with GGLOBAL. To delete the internal table created by GGLOBALN, use GGLOBALE.
Note: SYMBOL and PATTERN can generate more than one definition per statement. For more information about SYMBOL, PATTERN, LEGEND, and AXIS statements, see SAS/GRAPH: Reference.
Example |
Assume that the following SYMBOL statements have been defined for the current SAS session:
symbol1 c=red; symbol30 c=blue;
In the variable NUMSYMB, return the number of SYMBOL statements that are currently available. The value returned for NUMSYMB is 2, not 30.
numsymb=gglobaln('symbol');
See Also |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.