Go to: Synopsis. Return value. MEL examples.

Synopsis

int floatArrayRemoveAtIndex(int $index, float[] $list)

Remove the entry at $index from the float array $list.

Return value

None

Arguments

Variable Name Variable Type Description
$indexintThe index of the element to remove from $list.
$listfloat[]A list of float values.

MEL examples

  float $array1[] = { 1.0, 2.0, 3.0 };
  // Result: 1 2 3 //
  floatArrayRemoveAtIndex(1, $array1);
  // Result: 1 //
  print $array1;
  // Result: 1 3 //