Chapter Contents

Previous

Next
SELECT

SELECT



Selects a specified row of a selection list

Category: Extended Table


Syntax
Details
Example
See Also

Syntax

rc=SELECT(row);

rc
contains the return code for the operation:
0 successful
[ne]0 not successful

Type: Numeric

row
is the number of the row to select.

Type: Numeric


Details

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.


Example

Select row 5 of the selection list:

INIT:
   call setrow(10,2);
   rc=select(5);
return;

See Also

ISSEL

NSELECT

SELECTED

SETROW

UNSELECT


Chapter Contents

Previous

Next

Top of Page

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