program HelloWorld
write (*,*) 'Hello, world!' ! This is an inline comment
open(unit=6, file='E:\tt.txt') !hdh
write(6,*) 777
end program HelloWorld
参考:http://blog.sina.com.cn/s/blog_5504bf520100odbn.html
https://en.wikibooks.org/wiki/Fortran/Fortran_examples#Fortran_90