mianz Posted March 28, 2009 Share Posted March 28, 2009 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??? Link to comment Share on other sites More sharing options...
E1M1 Posted March 28, 2009 Share Posted March 28, 2009 exit exitloop return let me know if this helps u. edited Link to comment Share on other sites More sharing options...
mianz Posted March 28, 2009 Author Share Posted March 28, 2009 exit will terminate the whole scriptit'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 aHELP ANY!exitexitloopreturnlet me know if this helps u. Link to comment Share on other sites More sharing options...
Overlord Posted March 28, 2009 Share Posted March 28, 2009 while 1 and Wend or Do until... Link to comment Share on other sites More sharing options...
mianz Posted March 28, 2009 Author Share Posted March 28, 2009 while 1 and Wendor Do until...ok return will help. i'll just return to function a and a return will end function a. thanks manx Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now