hello world,
i'm looking for some method like ExitLoop level, but for Return from functions (not confusing with function return value).
i.e. ExitLoop can get you out of a loop1, and out of loop2 that loop1 is in, if you specify level 2.
i want to call func1, and func1 needs to call func2, and i want func2 to return to func1 and make func1 also return to the calling script.
currently i'm doing it with a condition check, but i'm looking for something more elegant, and with less code lines.
i want func1 to look like this:
ok, so it does not make a lot of sense in this short example, but over a longer project, the coding difference is apparent.
any ideas are welcome, thanks all.