mianz Posted March 28, 2009 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???
E1M1 Posted March 28, 2009 Posted March 28, 2009 exit exitloop return let me know if this helps u. edited
mianz Posted March 28, 2009 Author 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.
mianz Posted March 28, 2009 Author 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
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