find (VBS1)

From Bohemia Interactive Community
Jump to: navigation, search


Introduced with Virtual Battlespace 1 version 2.12
  

Click on the images for descriptions

Introduced in

Game:
Virtual Battlespace 1
Version:
2.12.14

Description

Description:
Returns the index of the Array element that equals value. Returns -1 if value cannot be found.

Syntax

Syntax:
array find value
Parameters:
array: Array
value: String, Number or Array
Return Value:
Number

Examples

Example 1:
index = array find value

Additional Information

Multiplayer:
-
See also:
Example 1

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section