GetLTVars
It retrieves the list of all numeric LabTalk variables.
int GetLTVars( vector<string> & vsNames, vector<double> & vdValues = NULL, BOOL bUserVarsOnly = TRUE, vector<int> & vnTypes = NULL )
the count of the retrieved variables.
EX1
// The example list all the numeric LabTalk variables currently in the project. void Project_GetLTVars_ex1() { vector<string> vsNames; vector vdValues; vector<int> vnTypes; int nCount = Project.GetLTVars(vsNames, vdValues, FALSE, vnTypes); for (int ii = 0; ii < nCount; ii++) { printf("name: %s\t type: %d\t value = %lf\n", vsNames[ii], vnTypes[ii], vdValues[ii]); } return; }
Project::GetLTStrVars
origin.h