Here is an example of a function...
// Function prototype
int foobar(unsigned int a, int *b);
// Function
int foobar(unsigned int a, int &b)
{
// Acquire some data... then
b = Data[a];
}
I get the following error:
73, syntax error; found '&' expecting ')'.
This is the normal method of passing in a pointer to an integer to a function and then setting the contents of the integer in the function. Why doesn't CVI let me do this? Is there another way?