ジャンプ先: 概要. 戻り値. MEL 例.

概要

int intArrayRemoveAtIndex(int $index, int[] $list)

int 配列 $list の $index からエントリを除去します。

戻り値

なし

引数

変数名 変数タイプ 説明
$indexint$list から除去する要素のインデックスです。
$listint[]int 値のリストです。

MEL 例

  int $array1[] = { 1, 2, 3 };
  // Result: 1 2 3 //

  intArrayRemoveAtIndex(1, $array1);
  // Result: 1 //

  print $array1;
  // Result: 1 3 //