SAS Component Language Dictionary |
Selects a specified row of a selection list
-
rc
-
contains the return code for the operation:
0 |
successful |
0 |
not successful |
Type: Numeric
-
row
-
is the number of the row to select.
Type: Numeric
The selection highlights the specified
row. SELECT is useful for forcing the selection of a row. For example, you
can use this function to set initial values or default values. Ordinarily,
a user selects a row by pressing ENTER or clicking on the row with the mouse.
You can use SELECT only for selection lists that were
built with extended tables in PROGRAM entries. FRAME entry controls must use
the _selectRow method. Because you can define extended tables only in SAS/AF
software, you cannot use SELECT 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.
Select row 5 of the selection list:
INIT:
call setrow(10,2);
rc=select(5);
return;
ISSEL
NSELECT
SELECTED
SETROW
UNSELECT
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.