K
Kululu17
Guest
Hi Guys,
I couldn't find this in the manual anywhere, but if you attempt to get a value from a script, and it doesn't explicitly return one, what value is used? For example:
***Main code***
Quadrant = 10;
Quadrant = script_execute(My_Script);
*** Within My_Script ***
if XYZ == true {return 5}
****
So if XYZ is true, then it resets the value Quadrant to 5. But what if XYZ is false? Is there a "default" if you don't specifically return a value from the script? Or does it give inconsistent results?
Thanks.
I couldn't find this in the manual anywhere, but if you attempt to get a value from a script, and it doesn't explicitly return one, what value is used? For example:
***Main code***
Quadrant = 10;
Quadrant = script_execute(My_Script);
*** Within My_Script ***
if XYZ == true {return 5}
****
So if XYZ is true, then it resets the value Quadrant to 5. But what if XYZ is false? Is there a "default" if you don't specifically return a value from the script? Or does it give inconsistent results?
Thanks.