Page 1 of 1
Using RETURN in a function
Posted: Fri Aug 05, 2016 6:20 pm
by rbytes
How many variables can be returned from a function?
If more than one, would you please show example code?
Thanks
Re: Using RETURN in a function
Posted: Sat Aug 06, 2016 12:47 am
by Mr. Kibernetik
You can return only one variable, for example to be used directly in a calculation.
But don't forget about scope syntax which allows you to access any variable of any function.
Re: Using RETURN in a function
Posted: Sat Aug 06, 2016 1:04 am
by rbytes
Thanks, Mr. K!