Sign in to follow this  
Followers 0
mianz

How to stop script from returning to previous function

5 posts in this topic

Hi, i have a script.

function a()

if something = not available then

b()

endfunc

function b()

something something

endfunc

is there anything that i can type to make the script not returning back to function a after it has excute all the codes in function b???

Share this post


Link to post
Share on other sites



exit

exitloop

return

let me know if this helps u.


edited

Share this post


Link to post
Share on other sites

exit will terminate the whole script

it's not a loop so i can't use exitloop.

return is of no use because i don't want it to return to function a

HELP ANY!

exit

exitloop

return

let me know if this helps u.

Share this post


Link to post
Share on other sites

while 1 and Wend

or Do until...

Share this post


Link to post
Share on other sites

while 1 and Wend

or Do until...

ok return will help. i'll just return to function a and a return will end function a. thanks manx

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0