是的,我知道..,这是无法想象的……这是一个真正的Fortran问题.
Yep I know.., this is not imagined ... it's a real Fortran question.
在以前的版本中,我指的是Fortran 2003、95、90甚至77.
By previous versions I mean Fortran 2003, 95, 90, and even 77.
通过向后兼容,我是说可以轻松运行为2008年以前版本编写的代码(仅对语法进行一些小的更改)?
by backwards compatible I mean can easily run code written for previous versions in 2008 (with nothing more than some minor changes to syntax)?
推荐答案在Fortran 90中没有删除任何内容,但在Fortran 95及更高版本中删除了一些糟糕的功能.更多被标记为过时".参见例如 www.cisl.ucar.edu/zine/96/fall/articles/3.f90.obsolete.html .实际上,编译器供应商仍然包括这些功能,因为那里有很多遗留代码.如果编译器无法编译旧版FORTRAN 77程序,将会引起客户的反感.
Nothing was deleted in Fortran 90 but some awful features have been deleted in Fortran 95 and later. More have been marked as "obsolescent". See, e.g., www.cisl.ucar.edu/zine/96/fall/articles/3.f90.obsolete.html. As a practical matter compiler vendors still include these features because there is so much legacy code out there. There would be customer rebellion if compilers couldn't compile legacy FORTRAN 77 programs.
更多推荐
Fortran 2008是否与以前的Fortran版本向后兼容?
发布评论