next up previous contents
Next: Structures Up: Arrays Previous: Subsets of arrays   Contents

A word of warning

help,array_2d(0,*) ; is <Expression>    INT       = Array[1, 2]
This can cause problems when you want to operate on it as a vector (i.e. a truly 1d array). You can get around this using reform,
column_zero=reform(array_2d(0,*))
help,column_zero;COLUMN_ZERO     INT       = Array[2]
(reform has other uses too).



John Marsham 2009-12-07