FIX: FORTRAN Err Msg: F2348: Already Declared SAVE

Last reviewed: September 11, 1997
Article ID: Q48624
5.00 | 5.00 MS-DOS | OS/2 kbprg kberrmsg kbappnote kbbuglist kbfixlist

The information in this article applies to:

  • Microsoft FORTRAN for MS-DOS and 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 reference words: 5.00 5.10 HF0225
KBCategory: kbprg kberrmsg kbbuglist kbappnote kbfixlist
KBSubcategory: FORTLngIss
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 11, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.