you can initialize a one-dimensional array like this:
arr1:ARRAY[1..5]OFINT:=[1,2,3,4,5];arr2:ARRAY[1..2,3..4]OFINT:=[1,3(7)];(* short for 1,7,7,7 *)arr3:ARRAY[1..2,2..3,3..4]OFINT:=[2(0),4(4),2,3];(* short for 0,0,4,4,4,4,2,3 *)Β
Now i would like to know if this is also possible for a two-dimensional array like this:
arr1:ARRAY[1..3]OFARRAY[1..5]OFINT:=[??];
Maybe someone can give me a simple example?
Thank you!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
you can initialize a one-dimensional array like this:
Now i would like to know if this is also possible for a two-dimensional array like this:
Maybe someone can give me a simple example?
Thank you!
Hi.
Simpe example: