Open data file, select variable in a custom dialog, execute statistical procedures
Scripts example: Open data file, select variable in a custom dialog, execute statistical procedures
// regional settings
$decimalsymbol=".";
$listseparator=",";
// select and open a data file
ReadData();
// define a dialog box
<dialog>
$dlgvar1 Select a variable
$dlgfilter Filter
$option1 Log transformation
</dialog>
// display the dialog box
m=Dialog();
// get the selections from the dialog box
// and next execute statistical procedures
if (m=1) {
$variable=$dlgvar1;
$filter=$dlgfilter;
$log=$option1;
proc means;
proc boxwhisker;
}