Go to: Synopsis. Return value. MEL examples.
float[] floatArrayRemove(float[] $item, float[] $list)
float[] : Original list with all occurrences of the float items removed. If none of the float items are in the float array then the returned float array is identical to the argument float array. |
Variable Name | Variable Type | Description |
---|---|---|
$items | float[] | A list of float values to remove from the float array. |
$list | float[] | The array to be acted upon. |
float $list[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; float $items[] = { 1.0, 3.0, 5.0, 7.0 }; float $diff[] = floatArrayRemove($items, $list); // Result : { 2, 4, 6, 8 } //