Title: | Digital Fortran |
Notice: | Read notes 1.* for important information |
Moderator: | QUARK::LIONEL |
Created: | Thu Jun 01 1995 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 1333 |
Total number of notes: | 6734 |
Digital Visual Fortran V5.0 Customer is porting OpenVMS Fortran code to MS using Visual Fortran and uses the following: INTEGER func CALL func() END INTEGER func() func=1 END With Visual Fortran this fails to compile with: file.for(4) : Error: This subroutine has already been used in a type statement. This fails on the "CALL func()" statement. I told him to call it as a function, but he does not want to change his VAX code. Any suggestions? Regards, Drew Sanford C970521-3537
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1309.1 | QUARK::LIONEL | Free advice is worth every cent | Wed May 21 1997 17:27 | 5 | |
Sorry - this is something which we enforce in all our Fortran 90 compilers, including the one on OpenVMS. We let people get away with it in F77, but it was technically against the standard there too. Steve |