Set LabTalk variable value
BOOL LT_set_var( LPCSTR lpcszLabTalkVarName, double dbValue )
TRUE if OK, and FALSE if it fails.
EX1
void LT_set_var_ex1() { double vv; if(LT_get_var("X", &vv)) { vv += 10; // Set the new value: if(LT_set_var("X", vv)) out_str("set X in LabTalk succeeded"); else out_str("set X in LabTalk failed"); LT_get_var("X", &vv); out_double("new value is ", vv); } }
It sets the value of a LabTalk variable
LT_get_var
origin.h