I am calling a webservice that will return multiple integer values, so I assume the best way to do so is pass the variables by ref, right?
So I define my variables, and call the webservice...
But I get a compilation error: "use of unassigned local variable 'foo'"
Since the purpose of the webservice function is to populate foo, is there a way to call the function without first setting the value of foo?
So I define my variables, and call the webservice...
Code:
int foo;
ret = mywebservice.mymethod( ref foo);
Since the purpose of the webservice function is to populate foo, is there a way to call the function without first setting the value of foo?