Unable to tell the difference between 'CODE' and 'CODEtwo' namelist names in attachments to follow.
Created attachment 14040 [details] Namelist input file Test case using attached input: PROGRAM namelist CHARACTER*25 CHAR NAMELIST /CODE/ CHAR, X NAMELIST /CODEtwo/ X C OPEN(5, file='namelist.in') 100 CHAR = 'Initialize string ***' X = -777. READ(5, nml=CODE, END=999) WRITE(6,*) CHAR, X GO TO 100 999 STOP 'namelist' END PROGRAM namelist
Created attachment 14041 [details] Namelist input file Correct input file.
*** This bug has been marked as a duplicate of 33039 ***