Return variables to main
lucas79
Forums
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!
Yes it is possible, you need
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: