This is a discussion on CALL and SUBROUTINE Space Issue - Fortran ; Hi All, I know someone will definitely be able to answer this. I am using fortran 77 I have created a subroutine and calling it like this: CALL LOOPPARA( MXFNL, MXNML, MXDPTH, MXFNDR, MXKIDS : ,MXMKAL, MXMKLC, MXPEO, MX2FND, MX2KID ...
Hi All,
I know someone will definitely be able to answer this.
I am using fortran 77
I have created a subroutine and calling it like this:
CALL LOOPPARA( MXFNL, MXNML, MXDPTH, MXFNDR, MXKIDS
: ,MXMKAL, MXMKLC, MXPEO, MX2FND, MX2KID
I get the following error on compile time:
CALL LOOPPARA( MXFNL, MXNML, MXDPTH, MXFNDR,
MXKIDS
^
"simwalk2.f", Line = 20783, Column = 73: ERROR: Unexpected syntax: ","
or ")" was expected but found "EOS".
: ,MXMKAL, MXMKLC, MXPEO, MX2FND, MX2KID
^
"simwalk2.f", Line = 20784, Column = 7: ERROR: This statement must
begin with a label, a keyword, or an identifier.
I am getting the same error where I define the SUBROUTINE. It is
clearly a spacing issue. How do I go about fixing this?
PLease help!
NG