To exit a function use “Return” … actually using exit will exit the whole script while “Return” will send the script back to the just after the place the function was called.
To exit a function use “Return” … actually using exit will exit the whole script while “Return” will send the script back to the just after the place the function was called.