Silverfrost Forums

Welcome to our forums

Error 374 while building the code

8 Apr 2009 11:09 #4408

I am migrating a code from Fortran 90 lying in UNIX to Windows. When i try to build the project it is showing an error rror 374 - The fourth argument (<number>) to FUNCTION_NAME is missing

Any help will be appreciated.

Thanks and Regards, Ajith.

8 Apr 2009 12:56 #4409

Hi,

The function declaration is as follows

FUNCTION Function_Name(A,B) INTEGER, DIMENSION(:), POINTER :: Function_Name CHARACTER(LEN=), DIMENSION(:), INTENT(IN) :: A CHARACTER(LEN=), INTENT(IN) :: find . . . . END FUNCTION Function_Name

Called inside a subroutine

SUBROUTINE ABC(C,D,E) INTEGER, DIMENSION(:), POINTER :: XYZ . . . XYZ ⇒ Function_Name('two arguments are passed here')
END SUBROUTINE

Please login to reply.