Create a two-dimensional array at runtime: Difference between revisions
Content added Content deleted
(→{{header|Python}}: Python 2 is reaching end of life. Adjusting code so that it works in Python 3) |
|||
Line 803: | Line 803: | ||
=={{header|Elena}}== |
=={{header|Elena}}== |
||
ELENA |
ELENA 5.0 : |
||
Typified array |
Typified array |
||
Line 816: | Line 816: | ||
console.loadLine(n,m); |
console.loadLine(n,m); |
||
var myArray := |
var myArray := class Matrix<int>.allocate(n,m); |
||
myArray.setAt(0,0,2); |
myArray.setAt(0,0,2); |