[英]Using Fortran77,How can I do the same thing that OPEN(POSITION=“APPEND”) in FOR90
Using Fortran77 and I want to open a file then it will go to the end of the file that won't overwrite my file. 使用Fortran77,我想打开一个文件,然后它将转到文件的末尾,该文件不会覆盖我的文件。
Same as OPEN(**,ACCESS="SEQUENTIAL",POSITION="APPEND") IN FORTRAN90/95 与FORTRAN90 / 95中的OPEN(**,ACCESS =“ SEQUENTIAL”,POSITION =“ APPEND”)相同
There is no easy portable way to do it in f77, strictly following the standard. 严格遵循标准,在f77中没有简便的便携式方法可以执行此操作。 However, many f77 compilers did support access=append as an extension.
但是,许多f77编译器确实支持access = append作为扩展。
Do you have a strong reason for following f77 strictly? 您是否有严格的理由严格遵守f77? Without common extensions even?
没有共同的扩展?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.