R3vo/Sandbox – User
Jump to navigation
Jump to search
m (Blanked the page) Tag: Blanking |
mNo edit summary |
||
Line 1: | Line 1: | ||
{| class="wikitable" | |||
|- | |||
! Command !! Description !! Example !! Exit whole script? !! Return Value | |||
|- | |||
| [[breakOut]] || Breaks out of scope with given name. || {{HashLink|breakOut#Example 1|Example}} || {{Icon|checked}} || {{Icon|unchecked}} | |||
|- | |||
| [[breakTo]] || Breaks out of all scopes and returns to the scope with given name. || {{HashLink|breakTo#Example 1|Example}} || {{Icon|checked}} || {{Icon|unchecked}} | |||
|- | |||
| [[break]] || Skips all further loop iterations. || {{HashLink|break#Example 1|Example}} || {{Icon|checked}} || {{Icon|unchecked}} | |||
|- | |||
| [[breakWith]] || Same as [[break]] but will also return the given value. || {{HashLink|breakWith#Example 1|Example}} || {{Icon|checked}} || {{Icon|checked}} | |||
|- | |||
| [[continue]] || Skips current loop iteration and continues with the next one. || {{HashLink|continue#Example 1|Example}} || {{Icon|checked}} || {{Icon|unchecked}} | |||
|- | |||
| [[continueWith]] || Same as [[continue]] but returns the given value. || {{HashLink|continueWith#Example 1|Example}} || {{Icon|checked}} || {{Icon|checked}} | |||
|- | |||
| [[exitWith]] || Exits the current code scope. || {{HashLink|exitWith#Example 1|Example}} || {{Icon|checked}} || {{Icon|checked}} | |||
|- | |||
| [[throw]] || Example || Example || {{Icon|checked}} || {{Icon|checked}} | |||
|- | |||
| [[terminate]] || Terminates script of given [[Script Handle]]. || {{HashLink|terminate#Example 1|Example}} || {{Icon|checked}} || {{Icon|unchecked}} | |||
|} |
Revision as of 12:01, 10 October 2021
Command | Description | Example | Exit whole script? | Return Value |
---|---|---|---|---|
breakOut | Breaks out of scope with given name. | Example | ||
breakTo | Breaks out of all scopes and returns to the scope with given name. | Example | ||
break | Skips all further loop iterations. | Example | ||
breakWith | Same as break but will also return the given value. | Example | ||
continue | Skips current loop iteration and continues with the next one. | Example | ||
continueWith | Same as continue but returns the given value. | Example | ||
exitWith | Exits the current code scope. | Example | ||
throw | Example | Example | ||
terminate | Terminates script of given Script Handle. | Example |