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

Content added Content deleted
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