not: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
(17 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|NOT]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|NOT]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|NOT]]
[[Category:Scripting Commands ArmA|NOT]]


| ofp |= Game name


<h2 style="color:#000066">'''not ''a'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| '''not''' a is exactly the same as [[!]]a |DESCRIPTION=
____________________________________________________________________________________________


'''Operand types:'''
| [[Boolean]] <nowiki>=</nowiki> '''not''' a  |SYNTAX=


'''a:''' [[Boolean]]
|p1= a: [[Boolean]] |PARAMETER1=


'''Type of returned value:'''
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <br><code>not [[false]] </code>


[[Boolean]]
Result is [[true]]. |EXAMPLE1=
____________________________________________________________________________________________


'''Description:'''
| [[Operators]] |SEEALSO=


'''not''' a.
}}


'''not''' a is exactly the same as [[! a]]
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>


'''not''' [[false]] ...... Result is [[true]].
[[Category:Scripting Commands|NOT]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|NOT]]
[[Category:Scripting Commands OFP 1.46|NOT]]
[[Category:Scripting Commands ArmA|NOT]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 15:44, 7 April 2019

Hover & click on the images for description

Description

Description:
not a is exactly the same as !a
Groups:
Uncategorised

Syntax

Syntax:
Boolean = not a
Parameters:
a: Boolean
Return Value:
Boolean

Examples

Example 1:

not false Result is true.

Additional Information

See also:
Operators

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