Chapter Contents

Previous

Next
GGLOBALN

GGLOBALN



Returns the number of SYMBOL, PATTERN, LEGEND, or AXIS statements that are currently defined

Category: SAS System Option


Syntax
Details
Example
See Also

Syntax

num-stmts=GGLOBALN(stmt-type);

num-stmts
contains the number of SYMBOL, PATTERN, LEGEND, or AXIS definitions that are currently defined.

Type: Numeric

stmt-type
specifies the type of statement to return:
'SYMBOL'
'PATTERN'
'LEGEND'
'AXIS'

Type: Character


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 Software: Reference.   [cautionend]


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

GGLOBAL

GGLOBALE


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.