exitWith: Difference between revisions
| mNo edit summary | m (Reset ArmA ver) | ||
| Line 4: | Line 4: | ||
| | arma |= Game name | | arma |= Game name | ||
| | | |1.00|= Game version | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 18:30, 4 October 2006
Description
- Description:
- If the result of condition is true, code is evaluated, and current block with result of code
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
- if (_x>5) exitWith {echo "_x is too big"; _x}- When _x is greater then 5, outputs message and terminates code in current level with value of _x
Additional Information
- See also:
- See also needed
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
Notes
Bottom Section
