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