ok, I'm use to making functions that return one value, where I usually just write someting like:
return ( something ) ;
and I get a value for my preceeding funciton.
but right now I am trying to write a function that takes no inputs
but brings back 2 values to its preceeding function. I've been trying things like:
return ( x = something, y = something ) ;
but it doesnt work. i have the x and y variables in the preceeding fucntion, i've tried different variations of it but can't get it to work.
does anyone know how to make a function return 2 values to two differnent variable in your main funciton?
thank you