New to Fortran, questions about writing to file

后端 未结 4 704
慢半拍i
慢半拍i 2020-12-21 19:35

I am completely new to Fortran and pretty new to programming in general. I am trying to compile a script someone else has written. This is giving me a few problems. The top

4条回答
  •  一生所求
    2020-12-21 20:07

    In this program, OUT is telling if the write statement was successful or not. (the IOSTAT parameter to the write statement means "I/O status", or input/output status). It returns 0 if the I/O operation was a success, or the number of the error code otherwise. You can find what the error codes mean here.

    I'm not familiar with the REC parameter, but a starting place to investigate yourself can be found here.

提交回复
热议问题