How to definition two dimension array?
kevinspace
Posts: 56
Hello everyone~
Are there anyone know that how to definition two dimension array?
Just like it :
var
long a[3][4]
pub main
a[0][0] := 1
a[0][1] := 2
a[0][2] := 3
a[0][3] := 4
a[1][0] := 5
a[1][1] := 6
a[1][2] := 7
a[1][3] := 8
a[2][0] := 9
a[2][1] := 10
a[2][2] := 11
a[2][3] := 12
Are there any example or any suggestion?
Thanks a lot.
Are there anyone know that how to definition two dimension array?
Just like it :
var
long a[3][4]
pub main
a[0][0] := 1
a[0][1] := 2
a[0][2] := 3
a[0][3] := 4
a[1][0] := 5
a[1][1] := 6
a[1][2] := 7
a[1][3] := 8
a[2][0] := 9
a[2][1] := 10
a[2][2] := 11
a[2][3] := 12
Are there any example or any suggestion?
Thanks a lot.
Comments