int IndexOfInt(int inValue, params DVar[] inArray)
Description
Will return the array index of a value within the array.
Parameters
The following is a list of parameters the functions receives
Parameter | Type | Description |
---|---|---|
inValue | int | Specific Value |
inArray | DVar[] | Array Name |
Return Type
int
Examples
given the array: arr, that has these items {6,7,8,9}
IndexOf(8,arr);
will return the integer 2, as 8 is in placed in index 2
Comments
Please sign in to leave a comment.