find (VBS1)
From Bohemia Interactive Community
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
Notes