Private function in Fortran

前端 未结 4 1462
感情败类
感情败类 2021-02-07 11:59

How do I declare a private function in Fortran?

4条回答
  •  半阙折子戏
    2021-02-07 12:47

    Private xxx, yyy, zzz
    
    real function xxx (v)
      ...
    end function xxx
    
    integer function yyy()
      ...
    end function yyy
    
    subroutine zzz ( a,b,c )
      ...
    end subroutine zzz
    
    ... 
    other stuff that calls them
    ...
    

提交回复
热议问题