Difference between revisions of "in"

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
(categories)
Line 55: Line 55:
  
 
<h3 style="display:none">Bottom Section</h3>
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|INARRAY]]
 
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands OFP 1.96|INARRAY]]
 
[[Category:Scripting Commands OFP 1.46|INARRAY]]
 
[[Category:Scripting Commands ArmA|INARRAY]]
 
[[Category:Command_Group:_Variables|{{uc:{{PAGENAME}}}}]]
 
 
  
 
<!-- CONTINUE Notes -->
 
<!-- CONTINUE Notes -->
Line 76: Line 69:
 
</dl>
 
</dl>
 
<!-- DISCONTINUE Notes -->
 
<!-- DISCONTINUE Notes -->
 +
 +
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands ArmA]]
 +
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 22:21, 3 February 2016

Template:Command

Notes

Posted on 15:58, 18 January 2007 (CET)
T_D
For a case-insensitive test use count: {_x == "lol"} count ["Lol", "LOL", "loL"]; //returns 3. Checking if an array (for example a position) is in another array doesn't produce an error, but it will always return false. e.g. [0,0,0] in [[0,0,0],[1,4,3],[5,3,1]]; //returns: false.

Bottom Section

Posted on August 23, 2014 - 10:10 (UTC)
PabstMirror
As of Arma 3 1.26: [0,0,0] in [[0,0,0],[1,4,3],[5,3,1]]; //returns true [1,2,3] in [[1,2,3],[4,5,6]]; //returns true Assuming it is now using comparison as found in isEqualTo