brandonpoc 4 Posted April 20, 2013 Report Share Posted April 20, 2013 Is there some kind of equivalent to the standard, de-facto programming statements of "break" and "continue" in UBot Studio? Without them, we're stuck deeply nesting if/then/else and setting variables with state information in an effort to control the execution at a finer granularity. If not, I would like to suggest them as a feature request (along with a "Find" window dialog as is present in every program with a text box in Windows, except UBot :-D). As it stands, I've been doing in my main loops things like "loop while($comparison(#x, "!=", 100) {" and then "set(#x, 100, "Local")" followed by a bunch of if/then/else that are nested deeply in order to avoid execution during error conditions, when a simple "break" would suffice in the loop or loop while statement. Thanks, Brandon Quote Link to post Share on other sites
pftg4 102 Posted April 20, 2013 Report Share Posted April 20, 2013 been covered many times $return breaks the loop pftg4 Quote Link to post Share on other sites
bestmacros 60 Posted April 20, 2013 Report Share Posted April 20, 2013 I've also encountered same problems when I've started to use ubot studio and I already proposed it, but currently it is not implemented and won't be implemented, so yes, the only way is to nest if/else or to use "return" which little bit emulates break loop behavior Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.