- 积分
- 2217
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-3-7
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2012-10-2 10:14:41
|
显示全部楼层
自己写的简单程序,不知道该怎么下手,希望高手稍微指点一下,谢谢。
Program Secular_Variation
implicit none
integer ::stat1
real*8 ::ewh !data
character(11) ::filename
open(13,file="name.txt") !The name of input file
open(14,file="result.txt",status="replace") !The name of output file
do
read(13,"(A11)",iostat=stat1) filename
if(stat1/=0) exit
open(15,file=filename)
read(15,"(f15.7)") ewh
write(14,"(f15.7)") ewh
close(15)
enddo
End program Secular_Variation |
|