Origin C, Pass VariablePass Variable, Origin CWhen calling a function of any type it is often necessary to pass variables to that function and likewise receive variables output by the function. The following summarizes the syntax and characteristics of passing LabTalk variables to Origin C functions.
Origin C functions are called from LabTalk with sytnax such as:
// separate parameters by commas (,) if more than one
int iret = myfunc(par1, par2....);
// no need for parentheses and comma if there is no assignment
// function returns no value, and no parameter, parentheses optional
The following table lists Origin C variable types that can be passed to and from LabTalk when calling an Origin C Function: