Go to: Synopsis. Return value. MEL examples.
float[] floatArrayRemove(float[] $item, float[] $list)
None
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 } //