! a: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(added example)
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________


|  |= See also
|x1= The code
 
  a <nowiki>=</nowiki> [[alive]] [[player]];
[[if]](!a) [[then]]
{
    [[hint]] "The player is dead!";
}
 
is the same as
 
a <nowiki>=</nowiki> [[alive]] [[player]];
if not (a) then
{
    [[hint]] "The player is dead!";
} |= Example 1
____________________________________________________________________________________________
 
| [[not]] |= See also


}}
}}

Revision as of 10:22, 12 December 2006

Hover & click on the images for description

Description

Description:
not a
Groups:
Uncategorised

Syntax

Syntax:
! a
Parameters:
a: Boolean
Return Value:
Boolean

Examples

Example 1:
The code a = alive player; if(!a) then { hint "The player is dead!"; } is the same as a = alive player; if not (a) then { hint "The player is dead!"; }

Additional Information

See also:
not

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