Go to: Synopsis. Return value. MEL examples.
 
int floatArrayFind(float $item, int $index, float[] $list) 
	 
None
| Variable Name | Variable Type | Description | 
|---|---|---|
| $item | float | The float item to search for in the float array. | 
| $index | float | The array index to begin the search at | 
| $list | float[] | A list of float values. | 
	float $array1[] = { 1.0, 2.0, 3.0 };
	// ,Result:, 1.0 2.0 3.0 // 
	int $index = floatArrayFind( 1.0, 0, $array1 );
	// ,Result:, 0 // 
	$index = floatArrayFind( 2.0, 0, $array1 );
	// ,Result:, 1 // 
	$index = floatArrayFind( 3.0, 4, $array1 );
	// ,Result:, -1 // 
	$index = floatArrayFind( 0.0, 0, $array1 );
	// ,Result:, -1 //