find: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Reset ArmA ver) |
||
Line 4: | Line 4: | ||
| arma |= Game name | | arma |= Game name | ||
| | |1.00|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 12: | Line 12: | ||
| array '''find''' x |= Syntax | | array '''find''' x |= Syntax | ||
|p1= array [[Array]] |= Parameter 1 | |p1= array: [[Array]] |= Parameter 1 | ||
|p2= x [[Any Value]] |= Parameter 2 | |p2= x: [[Any Value]] |= Parameter 2 | ||
| [[Number]] |= Return value | | [[Number]] |= Return value |
Revision as of 18:31, 4 October 2006
Description
- Description:
- Returns the position of the first array element that matches x, returns -1 if not found.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
[0, 1, 2] find 1 .... result is 1
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