LT_evaluate
Evaluate a LabTalk script temporarily setting this page as the active page.
BOOL LT_evaluate( LPCSTR lpcszLabTalkExpression, double * lpdbResult )
TRUE if expression is valid, FALSE if expression leads to missing value
EX1
//Check if the labtalk expression is valid. void Page_LT_evaluate_ex1() { double vv; bool bRet; WorksheetPage wksPage("Book1"); bRet = wksPage.LT_evaluate("page.active", &vv); if(bRet) out_str("The labtalk expression is valid"); else out_str("The labtalk expression is not valid"); }
origin.h