Lahey Support
08-15-2003, 01:33 AM
Dear Users,=0D
I have a problem in writing formated namelists.=0D
The problem begins when i want to =0D
compare the variables that are read=0D
by a namelist at the first and last line=0D
of the program! All i want to do is reading=0D
and writing a namelist with a good format.=0D
For example suppose that i have a namelist=0D
like the one bellow:=0D
=0D
NAMELIST /TEST/ A , B=0D
=0D
and the input file is something like this:=0D
=0D
&TEST=0D
A=3D10=0D
B=3D10=0D
&END =0D
then when i run the following code:=0D
=0D
READ(10,TEST)=0D
WRITE(11,TEST) =0D
=0D
the output file is not like the one that i wrote =0D
in input file. The result may be something like this:=0D
=0D
&TEST A=3D10.000000,B=3D15.000000 /=0D
=0D
Is there any soulution for this problem??=0D
=0D
Thank you in advance,=0D
Farschad Torabi=0D
I have a problem in writing formated namelists.=0D
The problem begins when i want to =0D
compare the variables that are read=0D
by a namelist at the first and last line=0D
of the program! All i want to do is reading=0D
and writing a namelist with a good format.=0D
For example suppose that i have a namelist=0D
like the one bellow:=0D
=0D
NAMELIST /TEST/ A , B=0D
=0D
and the input file is something like this:=0D
=0D
&TEST=0D
A=3D10=0D
B=3D10=0D
&END =0D
then when i run the following code:=0D
=0D
READ(10,TEST)=0D
WRITE(11,TEST) =0D
=0D
the output file is not like the one that i wrote =0D
in input file. The result may be something like this:=0D
=0D
&TEST A=3D10.000000,B=3D15.000000 /=0D
=0D
Is there any soulution for this problem??=0D
=0D
Thank you in advance,=0D
Farschad Torabi=0D