killzone_kid 1331 Posted April 14, 2013 Contrary to biki breakOut ""; exits the scope it is in, no need for scopeName if (true) then { diag_log ("1"); if (true) then { diag_log ("2"); breakOut ""; diag_log ("3"); }; diag_log ("4"); }; diag_log ("5"); result is "1" "2" "4" "5" Please confirm this is intended behaviour and not a bug. Share this post Link to post Share on other sites
afp 1 Posted April 15, 2013 Its the normal behaviour, breakOut breaks the current scope. See a bit more in my signature "Dev Tips" link. Share this post Link to post Share on other sites
killzone_kid 1331 Posted April 15, 2013 appreciate your reply but the link provides no answer. would still like to have dev confirmation on this. Share this post Link to post Share on other sites
headswe 17 Posted April 16, 2013 It's just like break in any other languages with a optional goto for whatever reason. Share this post Link to post Share on other sites