Hello,
I have a question, i have a script with main and functions, so i can't return variable of function to main. It is possible?
For example:
"MAIN"
......
var_return = Call custom_function1
.....
///////////////////////////////////////////////////////////////////////////////////////////////////
Function custom_function1
.....
....
Return var1
End function
Thank you!
lucas79
Offline
Last seen: 2 years 9 months ago
Joined: 05/24/2019 - 12:50
Yes it is possible, you need to make the return value equal to the function name. Also in your call you don't need the call key word. Here is an example for you: