fortran:trim(text)
text の後半にある空白文字を消去する
write() text <-- 後半に空白文字
write() trim(text) <-- 前半に空白文字
This Blog "Scientific View" is from Japan, blordcasted by aohmusi (physics student). In this site I will blordcast you some interest thing for ME. Then FOR ME, I love to study science, so this blog has a scientific view. Please feel free to contact and tell me how do you think about my Views.
2010年7月19日月曜日
Fortran runtime error: File already opened in another unit
Fortran runtime error: File already opened in another unit
do n=1,100
open(n,file=file_name)
end do
で、file_nameの値が、ループ内で変わっていないと出るエラー
do n=1,100
open(n,file=file_name)
end do
で、file_nameの値が、ループ内で変わっていないと出るエラー
登録:
投稿 (Atom)