in Array: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|INARRAY]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|INARRAY]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|INARRAY]]
[[Category:Scripting Commands ArmA|INARRAY]]


| ofp |= Game name


<h2 style="color:#000066">'''''x'' in ''array'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


|  |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''in Array''' |= Syntax


'''x:''' [[Any Value]]
|  |= Return value
____________________________________________________________________________________________


'''array:''' [[Array]]
|  |= See also


'''Type of returned value:'''
}}


[[Boolean]]
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Check if '''x''' is equal to any element of '''array'''.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|INARRAY]]
 
[[Category:Scripting Commands OFP 1.96|INARRAY]]
'''Example:'''
[[Category:Scripting Commands OFP 1.46|INARRAY]]
 
[[Category:Scripting Commands ArmA|INARRAY]]
_it = 1 '''in''' [0, 1, 2] ...... Result is [[true]]

Revision as of 01:31, 2 August 2006

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Uncategorised

Syntax

Syntax:
in Array
Return Value:
Return value needed

Examples

Examples:
Example needed

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