Create a two-dimensional array at runtime: Difference between revisions

m
No edit summary
Line 576:
=={{header|J}}==
 
The natural ways of creating a two dimensional array, from array dimensions, in J are <code>i.</code> and <code>$</code>
 
<lang j> array1=:i. 3 4 NB. a 3 by 4 array with arbitrary values
6,962

edits