throw: Difference between revisions
Jump to navigation
Jump to search
m (added link for catch) |
mNo edit summary |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''throw''' expression |= Syntax | | '''throw''' "expression" |= Syntax | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value |
Revision as of 23:32, 31 August 2007
Description
- Description:
- Throws an exception. The exception is processed by first catch block.
- Groups:
- Uncategorised
Syntax
- Syntax:
- throw "expression"
- Return Value:
- Nothing
Examples
- Example 1:
throw "invalid argument"
Additional Information
- See also:
- tryException handling
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