The following example resizes a one-dimensional array with 12 elements into a two-dimensional array with 3 rows and four columns.

aAlpha = {"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L" }

aAlpha.resize( 3, 4 )

displayArray( aAlpha )

The displayArray( ) function is used to display the contents of the array in the results pane of the Command window. It is shown in the example for dimensions.