Hi Mike,
Currently there is no support for passing a structure between OC and LabTalk. So you will need to set LT variable values like you are doing now.
However, specifically for basic stats, you could have a function such as below to execute the sum command in LT so that the stats are readily available in LT once this function is called.
void OC_sum(Dataset& dd)
{
string strCMD = "sum(" + dd.GetName() + ");";
LT_execute(strCMD);
}
Easwar
OriginLab.
Edited by - easwar on 04/12/2003 9:40:48 PM
Edited by - easwar on 04/12/2003 9:41:46 PM