[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reading into arrays with order > 2



Assuming names3Mom is a 1D array of strings (of valid filenames) is there
any reason why the following code will not read many files into a 3d array?

FOR I=0,1 DO BEGIN
    close,1 & openr,1,names3Mom(I)
    readf,1,all3MomData(I,*,*)
END

I get no error messages, but when I look at my array it contains no data...?
I'm quite sure the files being read contain data.  Is this some inherent
problem with readf and arrays with order > 2?

Steven

--

Linacre College
Oxford
OX1 3JA

01865 - (2)81229 (W)
01865 - 209295   (H)

www.linacre.ox.ac.uk/student_pages/steven_riley