Object The control whose selections are to be fetched. Default is the current control. The control should be a type that has a list of choices (a list type, radio button, or table).
Variable The name of the variable containing the choices.
SubscriptType Letters identifying the number and contents of the subscripts to be returned in Variable, one or more of: A (application identifications), I (internal identifications), T (titles), R (rows), C (columns). Multiple letters indicate multiple subscripts. Default is I. Rows and columns apply to table controls only.
DataType A single letter identifying the data stored in Variable at a subscripted node, one of: A, I, T (as above) or N (null string). Default is T.
The %%GetSel macro retrieves the value of the selections of control specified by Object and places them into the array specified by Variable.
Internal identifications, titles, application identifications, rows and columns may be used to return different structures. For instance, the titles associated with an identification may be returned so they are immediately available. Also, multiple selections with identical titles can be distinguished by identification.
This is very frequently used to retrieve user selections.
The output array may immediately be used to set the choices or selections of another control.
%%GetSel(Name,NAMES,TA)
Fill the local array NAMES(Title,Aid)
with selections from control the control called "Name"