- #1
solarblast
- 152
- 2
I'm looking at someone else''s f90 code, and see:
read ( u_in, instrument, iostat=i )
u_in is an integer, and instrument is a namelist.
Apparently, the read does handle the namelist OK, but I would have expected:
read ( u_in, nml=instrument, iostat=i)
The partial namelist is above as:
! Instrument data
namelist / Instrument / &
Bn, & ! Closures per revolution
Fl, & ! Focal length, mm
...
Comments?
read ( u_in, instrument, iostat=i )
u_in is an integer, and instrument is a namelist.
Apparently, the read does handle the namelist OK, but I would have expected:
read ( u_in, nml=instrument, iostat=i)
The partial namelist is above as:
! Instrument data
namelist / Instrument / &
Bn, & ! Closures per revolution
Fl, & ! Focal length, mm
...
Comments?