breakWith: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *V([a-z ])" to "$1 - v$2") |
||
Line 10: | Line 10: | ||
|s1= [[breakWith]] return | |s1= [[breakWith]] return | ||
|p1= return: [[Anything]] - | |p1= return: [[Anything]] - value to be returned when iterations are skipped | ||
|r1= [[Anything]] | |r1= [[Anything]] |
Latest revision as of 15:53, 8 November 2023
Description
- Description:
- Skips all loop iterations and immediately returns the given value.
- Groups:
- Program Flow
Syntax
- Syntax:
- breakWith return
- Parameters:
- return: Anything - value to be returned when iterations are skipped
- Return Value:
- Anything
Examples
- Example 1:
Additional Information
- See also:
- continueWith break continue breakOut
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note