2011-10-20 79 views
1

在下面FORTRAN77代碼語法錯誤的參數列表,還有這個子程序定義星號在Fortran語言:在(1)

SUBROUTINE MSIRNS (D , NOBST , N , X , R , RR , SURFT , 
,     INOBSI , ISUR , IDELTS , IRELPS , 
,     RNOBSI , RSUR , RDELTS , RRELPS , 
,     OBSD , * , *) 

是什麼的最後兩個參數,星號是什麼意思?

我該如何調用函數?

我嘗試了所有這些變種

RES = CALL MSIRNS (D, NOBST, N, X, R, RR, SURFT, INOBSI, ISUR, IDELTS, IRELPS, RNOBSI, RSUR, RDELTS, RRELPS, OBSD, *, *) 
    CALL MSIRNS (D, NOBST, N, X, R, RR, SURFT, INOBSI, ISUR, IDELTS, IRELPS, RNOBSI, RSUR, RDELTS, RRELPS, OBSD, *, *) 
    RES = CALL MSIRNS (D, NOBST, N, X, R, RR, SURFT, INOBSI, ISUR, IDELTS, IRELPS, RNOBSI, RSUR, RDELTS, RRELPS, OBSD) 

但總是

Error: Syntax error in argument list at (1)

回答