Subroutine Arguments
From: Talyrond (supertramp1963_at_yahoo.co.uk)
Date: 03/30/05
- Next message: Bart Vandewoestyne: "Re: writing sequences to a file"
- Previous message: Pavel: "Re: INTERFACE problem"
- Next in thread: glen herrmannsfeldt: "Re: Subroutine Arguments"
- Reply: glen herrmannsfeldt: "Re: Subroutine Arguments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Mar 2005 00:33:52 -0800
Hi, I am trying to compile some Legacy Fortran Code I have been given,
I believe it is Fortran 77. I am new to Fortran and have searched all
I can to resolve this issue, but with no luck!
I am getting compiler errors say I am passing the incorrect number of
arguments
Declaration example:
SUBROUTINE TEST (PARA1, PARA2, PARA3, PARA4, *)
I believe the problem is related to the last argument, as you can see
it contains a '*', I can only assume that this is some sort of
optional parameter, but I cant get the code to compile. I am using
FTN95 Fortran 95 for Windows from SilverFrost.
The number of calls to the routine do vary and sometimes, use '*9999'
as a passing value for the last argument, strange!
Any help would be appreciated
- Next message: Bart Vandewoestyne: "Re: writing sequences to a file"
- Previous message: Pavel: "Re: INTERFACE problem"
- Next in thread: glen herrmannsfeldt: "Re: Subroutine Arguments"
- Reply: glen herrmannsfeldt: "Re: Subroutine Arguments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|