find (VBS1)

From Bohemia Interactive Community
Jump to: navigation, search
Introduced in Virtual Battlespace 1 version  2.12.14

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


Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section