Chapter Contents |
Previous |
Next |
SELECTED |
Category: | Extended Table |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
row=SELECTED(nval); |
Type: Numeric
Type: Numeric
Details |
You can use SELECTED only for selection lists that were built with extended tables in PROGRAM entries. FRAME entry controls must use the _selected method. Because you can define extended tables only in SAS/AF software, you cannot use SELECTED in FSEDIT or FSVIEW programs.
In order for an extended table to be considered a selection list, you must specify a number of selections in the SETROW routine.
Example |
Suppose the application displays a selection list that contains ten rows and that the user selects first row 3 and then row 5. If SELECTED is called with the value 2 specified for nval (as in the following statement), then the value returned in the variable ROW is 5, because row 5 was the second selection.
row=selected(2);
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.