6 lines
276 B
Text
6 lines
276 B
Text
?m; {imput the dimensions of the array}
|
|
?n;
|
|
Array a[m,n]; {generate an array of m rows and n columns}
|
|
a[m\2, n\2] := m+n-1; {put some value in one of the cells}
|
|
!!a[m\2, n\2]; {display that entry}
|
|
@[a]; {delete the array}
|