DataObject.GetSelectedVarNames

Prototypes

void GetSelectedVarNames( Matrix mVarNames )

Parameters

Matrix mVarNames
Upon return, contains a column vector of the names of the selected variables.

Remarks

This method retrieves the names of the variables that are selected in the DataObject.

Example
declare DataObject dobj;
dobj = DataObject.CreateFromFile( "baseball" );
DataTable.Create( dobj ).ActivateWindow();
run DoMessageBoxOK( "IML Studio",
    "(1) Click OK to close this message box.\n"j +
    "(2) Select one or more variables in the data table.\n"j +
    "(3) Press ALT+F5 to resume the program."j );
pause "nodialog:";
dobj.GetSelectedVarNames( m );
if nrow(m) = 0 then
    print "No variables are selected";
else
    print m;
See Also

DataObject.GetVarNames