SAS Component Language Dictionary |
Returns the number of rows that have been selected in a selection
list
-
num-rows
-
contains the number of selected rows.
Type: Numeric
Because you can define extended tables
only in SAS/AF software, you cannot use NSELECT in FSEDIT or FSVIEW programs.
NSELECT is valid only for PROGRAM entries. FRAME entry controls must use the
_getNselect method.
In order for an extended table to be considered a selection
list, you must specify a number of selections in the SETROW routine.
Return the number of selected rows:
nsel = nselect();
_msg_ ='You have selected ' || nsel || ' rows.';
ISSEL
SELECT
SELECTED
UNSELECT
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.