![]() |
stopping functions?
I have some custom functions and I need to change between two. I need the other one to stop and vice versa. So How do I get 1 function to stop?
|
Some sort of check with a variable?
Like if the variable is 1 then function 1 is on. If it is 2 then function 2 is on. Etc ETc etc? But I probably dont know what I'm talking about. |
no that doesnt work
|
Quote:
|
Anyone?
|
return; will stop the execution of the current function and continue execution from where the function was called.
|
return "";
|
Quote:
|
Some clarification on what you're trying to do would be nice. >_>
Are you having two functions called simutaneously and you want both to stop when one finds something? Are these functions being completed in an instant or are they being called each iteration? |
| All times are GMT +2. The time now is 06:24 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.