breakWith

From Bohemia Interactive Community
Revision as of 17:42, 5 November 2020 by R3vo (talk | contribs) (page created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 2.02|2.02]]
Hover & click on the images for description

Description

Description:
Skips all loop iterations and returns 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

[[Category:Introduced with arma3dev version 2.02]][[ Category: arma3dev: New Scripting Commands | BREAKWITH]][[ Category: arma3dev: Scripting Commands | BREAKWITH]]