Chapter Contents |
Previous |
Next |
ISGRAY |
Category: | Control or Field |
Syntax | |
Details | |
Examples | |
Example 1: Determining Whether an Extended Table Row Is Grayed | |
Example 2: Finding the Number of Stations in a Choice Group | |
See Also |
Syntax |
rc=ISGRAY(var-name<,station<,row>>); |
1 | the specified station is grayed |
0 | the specified station is not grayed, or no station in the choice group is grayed |
m | the number of stations that are grayed, when an entire choice group is not grayed |
-n | the total number of stations, when an entire choice group is grayed. |
Type: Numeric
Type: Character
Type: Numeric
Type: Numeric
Details |
Window controls can also use the _isGray method.
Because choice groups can be defined only in SAS/AF software, you cannot use ISGRAY in FSEDIT or FSVIEW programs.
Examples |
Test whether the choice group WINE at the third row of an extended table is grayed:
if (isgray('wine',0,3)) then do; ...SCL program statements... end;
Find out how many stations are defined for a choice group:
rc=gray('wine'); total=abs(isgray('wine'));
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.