StaGetAllMD

StaGetAllMD is used to retrieve an array of missing data values for all variables. There is not a direct function call in Statistica's COM library for StaGetAllMD; however, the following examples will emulate this functionality:  

Programming Language Example
Visual Basic 'assuming "Spr" is a spreadsheet Dim MDVals() As Double ReDim MDVals(Spr.NumberOfVariables) Dim i As Integer

For i = 1 To Spr.NumberOfVariables

MDVals(i) = Spr.VariableMissingData(i)

Next i

C++ 'assuming "pSpreadsheet" is a pointer to a spreadsheet

double* MDVals = new double[pSpreadSheet->GetNumberOfVariables()]; for (int i = 0; i < pSpreadSheet->NumberOfVariables; ++i)

{ MDVals[i] = pSpreadSheet->GetVariableMissingData(i+1); }

delete [] MDVals;

See also Migrating from StaDev to Statistica's COM architecture for a comprehensive list of all StaDev32 functions that can be migrated to Statistica's COM library.