R3vo/Sandbox – User

From Bohemia Interactive Community
< User:R3vo
Revision as of 12:01, 10 October 2021 by R3vo (talk | contribs)
Jump to navigation Jump to search
Command Description Example Exit whole script? Return Value
breakOut Breaks out of scope with given name. Example Checked Unchecked
breakTo Breaks out of all scopes and returns to the scope with given name. Example Checked Unchecked
break Skips all further loop iterations. Example Checked Unchecked
breakWith Same as break but will also return the given value. Example Checked Checked
continue Skips current loop iteration and continues with the next one. Example Checked Unchecked
continueWith Same as continue but returns the given value. Example Checked Checked
exitWith Exits the current code scope. Example Checked Checked
throw Example Example Checked Checked
terminate Terminates script of given Script Handle. Example Checked Unchecked