Can I create full-featured Scrollsheets in STATISTICA BASIC?
In addition to the various report, external file, or data file output options (see the previous topic), you can create new Scrollsheets or cascades of Scrollsheets (directly from within your BASIC program) and display your tabular or text results in a way that is most efficient to review. Creating a simple output Scrollsheet takes just one line of code, and as a result. The following program will compute a correlation matrix and display it (and then print) in a Scrollsheet: ReDim corr(NVars, Nvars); {declares a square array corr of size equal to the number of variables in the current data file} MatrixCorrelations(Data, 1, corr); {computes correlations from data in the array corr} name$ := VarName(1); {places 1st variable name in string variable name$} for i := 2 to NVars do {beginning of a loop: FOR..TO..DO..} name$ := name$ + ‘|’ + VarName(i); {builds a delimited string containing variable names} scr := NewScrollsheet(NVars, Nvars, corr, ‘Correlations’, name$, name$); {displays the co