! a: Difference between revisions
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 09:22, 12 December 2006
Description
- Description:
- not a
- Groups:
- Uncategorised
Syntax
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