How to make a function return more than one variable?
Answered
- Need more info
- Answered
- Working on it
in
Programming Questions
•
2 years ago
Hi. I'm new to processing so sorry if this is a silly question, but i havent managed to find the answer...
I need to write a function that returns more than one variable. How is that done in processing?
for example, i have
I need to write a function that returns more than one variable. How is that done in processing?
for example, i have
- int dosomething(inputtype inputname){
- int outputname;
- // some calculation is done here and the output is outputname
- return(outputname);
- }
1