FIX: FORTRAN Err Msg: F2348: Already Declared SAVE

ID: Q48624


The information in this article applies to:
  • Microsoft FORTRAN for MS-DOS, version 5.0
  • Microsoft FORTRAN for OS/2, version 5.0


SYMPTOMS

In Microsoft FORTRAN version 5.0, when attempting to use the SAVE statement on any item more than twice in the same source file, the following error message may be generated:

F2348: a: already declared SAVE


STATUS

This problem has been corrected with an application note, which is available from Microsoft Product Support Services. The application note is titled "FORTRAN 5.0 F1.EXE and F1L.EXE Structure Patch."

This file has been removed from the Software Library but can be requested by calling Microsoft Product Support Services. This problem was corrected with Microsoft FORTRAN version 5.1.


MORE INFORMATION

Sample Code #1


c The following example program generates the F2348 error
c when compiled with Microsoft FORTRAN version 5.0

         subroutine a
         common /name/ d
         save /name/ 
         end

         subroutine b
         common /name/ d
         save /name/ 
         end

         subroutine c
         common /name/ d
         save /name/ 
         end 

Additional query words: 5.00 5.10 HF0225

Keywords :
Version : :5.0
Platform :
Issue type :


Last Reviewed: November 3, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.