I am trying to open with a for loop 25 csv file one after the other in IDL
I have the following code:-
The_file_list=FILE_SEARCH('D:/MapsCharts/PairedStations/','*.csv',/FOLD_CASE)
FOR Filein = 0, N_ElEMENTS (The_file_list)-1 DO BEGIN
Print, Filein
OPENR,1,filein
temp=''
READF,1,temp
Station=STRMID(temp,1,13)
ENDFOR
The first line works but I cannot get the individual file data
Can somebody advise