Get the list of Origin C functions that can be used in LabTalk for calculations
int GetOCMathFunctionList( vector<string> * psaNames, vector<string> * psaDescriptions, vector<uint> * pvuNumArgs, vector<string> * psaInsert )
number of functions found, -1 if any of the argument is invalid
EX1
void GetOCMathFunctionList_ex1() { vector<string> vsNames, vsDesc, vsIns; vector<uint> vunArgs; int nCount = GetOCMathFunctionList(&vsNames, &vsDesc, &vunArgs, &vsIns); if(nCount > 0) { printf("Function\tDescription\tArg\tInsert Form\n"); for(int ii = 0; ii < nCount; ii++) printf("%s\t%s\t%d\t%s\n", vsNames[ii], vsDesc[ii], vunArgs[ii], vsIns[ii]); } }
origin.h