PRO dustem_write_specem,file,st OPENW,unit,file,/get_lun Ntypes=n_elements(st) ;frmt="(11E15.5)" FOR i=0L,Ntypes-1 DO BEGIN printf,unit,st(i).coeffisrf,st(i).ntemp,st(i).nspinc,st(i).nit,format=frmt ENDFOR close,unit free_lun,unit END