Error in implicit declaration in Fortran

前端 未结 1 1782
遇见更好的自我
遇见更好的自我 2021-01-27 07:56

I have checked all the formats of the implicit type declaration but have not been able to find out the error in the following line . I have been running the code using f77 to co

相关标签:
1条回答
  • 2021-01-27 08:34

    A few basic rules if you are using F77 or earlier versions.

    1. Put the implicit line first
    2. Columns 1-5 are for labels
    3. Column 6 is for continuation
    4. Start the code in column 7
    5. The code should not go past column 72. Some compilers have an option to extend the line length to 80 or 120 or 132 (widths of line printers when F77 first came out)

    If you wish to use free format, use one of the later versions of fortran

    0 讨论(0)
提交回复
热议问题