LT-Evaluate-GlobalFunction
Evaluate an expression in LabTalk syntax.
BOOL LT_evaluate( LPCSTR lpcszLabTalkExpression, double * lpdbResult )
TRUE if expression is valid, FALSE if expression leads to missing value
EX1
void LT_evaluate_ex1() { double vv; LT_get_var("@D",&vv); // get machine curremt date/time as Julian value out_double("@D = ", vv); LT_evaluate("0^0",&vv); // evaluate expression using LabTalk interpreter out_double("0^0 = ", vv); }
origin.h