配列


※上記の広告は60日以上更新のないWIKIに表示されています。更新することで広告が下部へ移動します。

Java

int[] intArray = new int[100];
 
int[][][] intArray = new int[10][9][8];
 

JavaScript

var myArray = new Array(100);
 
var myArray = new Array(10);
 
for(var i=0;i<myArray.length;i++){
  myArray[i] = new Array(9);
}
 

PHP

$myArray[] = $val;
 
$myArray["キー"] = "値";
 
$fruit = array("キー1" => "値1", "キー2" => "値2", "キー3" => "値3");
 

ActiveBasic

Dim myArray[100] As Long
 
Dim myArray[10][9] As Long
 

VBA

Dim A(9) As String
 
Dim A(1 To 10) As String
 
Dim A() As String
Dim IX As Long
 
IX = 100
ReDim A(IX)