a && b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added description)
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns whether to values both are <tt>true</tt>.
| Returns whether two values both are <tt>true</tt>.


This is exactly the same as a [[and]] b |= Description
This is exactly the same as a [[and]] b |= Description

Revision as of 14:03, 12 December 2006

Hover & click on the images for description

Description

Description:
Returns whether two values both are true. This is exactly the same as a and b
Groups:
Uncategorised

Syntax

Syntax:
a && b
Parameters:
a: Boolean
b: Boolean
Return Value:
Boolean

Examples

Example 1:
Checks whether the player and his leader are alive. if (alive player && alive leader player) then { hint "Both the player and his leader are alive"; }

Additional Information

See also:
and

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