Ejemplo de scripts: abrir un archivo de datos, seleccionar una variable en un cuadro de diálogo personalizado y ejecutar procedimientos estadísticos
// 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;
}