(→Break statement) |
m (formatting) |
||
Line 10: | Line 10: | ||
===Break statement=== | ===Break statement=== | ||
− | ;<code>[gn:act_break]|[keyword]</code> | + | :;<code>[gn:act_break]|[keyword]</code> |
− | {| class="wikitable sortable" style="font-size: 85%; text-align: left;" | + | :{| class="wikitable sortable" style="font-size: 85%; text-align: left;" |
|- | |- | ||
! scope="col" | Parameter | ! scope="col" | Parameter | ||
! scope="col" | Description | ! scope="col" | Description | ||
|- | |- | ||
− | | keyword | + | | <code>keyword</code> |
| <div style="text-align: right;">'''optional'''</div> | | <div style="text-align: right;">'''optional'''</div> | ||
Possible keywords: | Possible keywords: | ||
Line 27: | Line 27: | ||
====Example==== | ====Example==== | ||
− | <code>while</code> - stops action execution in while statement | + | :<code>while</code> - stops action execution in while statement<br> |
− | <code>[gn:act_break]|[while]</code> | + | :; ⤷ <code>[gn:act_break]|[while]</code> |
<hr> | <hr> |
Revision as of 13:46, 12 July 2017
gn:act_break
- Description
- Action used to prevent further actions execution.
- Action returns
- void
Action signatures
Break statement
[gn:act_break]|[keyword]
Parameter Description keyword
optionalPossible keywords:
(empty) - stops execution of current action process
while
- stops execution of actions defined in while statementforEach
- stops execution of actions defined in forEach statement
Example
while
- stops action execution in while statement
- ⤷
[gn:act_break]|[while]
- ⤷