RosettaCodeData/Task/Create-a-two-dimensional-array-at-runtime/APL/create-a-two-dimensional-array-at-runtime.apl

8 lines
187 B
APL
Raw Permalink Normal View History

2013-04-10 16:57:12 -07:00
arraym n 0 ⍝ array of zeros with shape of m by n.
array[1;1]73 ⍝ assign a value to location 1;1.
array[1;1] ⍝ read the value back out
⎕ex 'array' ⍝ erase the array