DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


cout, couts, coutMat, coutVec, coutDTab

Declaration: cout(s: string; x: variant);
couts(x: string);
coutMat(x: TMatrix);
coutVec(x: TVector);
coutDTab(x: TDataTable);
Outputs the variable x to the console. The output is preceded by the string s. If the parameter x is an open array or an instance of the class TMatrix, TVector class, or TDataTable only the first few elements in each dimension are displayed.

Please note that these commands are intended for debugging purposes only (during development of a script). The cout and couts commands have no effect if the script is executed outside of the script editor (i.e. by clicking an assigned button). If you want to output a value or string which the user can see, you have to use the MessageDlg or a similar function.