Missing explicit interface for subroutine

前端 未结 2 424
礼貌的吻别
礼貌的吻别 2021-01-21 09:38

I just want to read a two-column text file with variable lines into an array. The first column of the text file is time in the unit of second, and the second is temperature. Jus

相关标签:
2条回答
  • 2021-01-21 09:50

    Put your subroutine File2Arr inside the module MyData (and remove the use mydata line inside that subroutine). It compiled & ran for me doing that.

    0 讨论(0)
  • 2021-01-21 09:50

    Alternatively to adding your subroutine File2Arr to your module MyData, you could put it also directly in your program by using the CONTAINS keyword (here you can also remove the use mydata line in the subroutine).

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