Difference between revisions of "FindFloatInArray"
Jump to navigation
Jump to search
imported>Speedo (Remove beta tag) |
imported>Speedo |
||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
*If the value is not in the array or the array does not exist, it returns -1. | *If the value is not in the array or the array does not exist, it returns -1. | ||
[[Category: Pluggy]] | [[Category: Functions (Pluggy)]] | ||
[[Category: Array Functions (Pluggy)]] |
Latest revision as of 11:55, 26 February 2008
A command for Pluggy
Syntax:
(Index:float) FindFloatInArray ArrayID:long Value:float Start:long Stop:long
Returns the index of the first occurrence of Value between indexes Start & Stop in the array.
- This can only be used to find floats.
- Use FindRefInArray and FindInArray for other value types.
- Start is optional. By default it is 0
- Stop is optional. By default it is the last index of the array
- If the value is not in the array or the array does not exist, it returns -1.