assert: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(updated)
Line 36: Line 36:
[[Category:Scripting Commands ArmA|ASSERT]]
[[Category:Scripting Commands ArmA|ASSERT]]
[[Category:Command_Group:_Program_Flow|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Program_Flow|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Revision as of 15:42, 3 June 2009

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Tests a condition and if the condition is false, halts the program.
Groups:
Uncategorised

Syntax

Syntax:
assert condition
Parameters:
condition: Boolean
Return Value:
Boolean

Examples

Example 1:
assert (_x>0)

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