DOCERR: F2400 : "<name> : COMMON not defined"

Last reviewed: December 9, 1995
Article ID: Q117904
The information in this article applies to:
  • Microsoft FORTRAN PowerStation for MS-DOS, versions 1.0 and 1.0a
  • Microsoft FORTRAN PowerStation 32 for Windows NT, version 1.0 and 4.0

The following compiler error message is not included in the documentation for the products listed above:

   error F2400: <var name> : COMMON not defined

Or for Fortran PowerStation 4.0:

   error FOR3295: COMMON block /A/ SAVEd but not declared

Note: the above error message is correctly described in the Fortran PowerStation 4.0 on-line help.

The sample code below produces the error. The "save" statement should have a common block name between the slashes ("/").

Sample Code

C Compile options needed: none

   CALL TEST
   END

   SUBROUTINE TEST()
   SAVE /A/
   END


Additional reference words: 1.00 1.00a 4.00 docerr
KBCategory: kbother kbdocerr kberrmsg
KBSubcategory: FL32Iss


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: December 9, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.