function row,variable ;The function row.pro finds the number of rows in a matrix. ;Use is as follows: ; r=row(x) ;Where ; x = matrix that # of rows is desired ; ; r = # of rows of matrix x ; ;Related code: col.pro, siz.pro ; ;BWBerger 3/5/99 ; s=size(variable) if (s(0) eq 1) then begin rows=1 endif else begin rows=s(2) endelse return, rows end