DOCERR: F2400 : "<name> : COMMON not defined" (117904)



The information in this article applies to:

  • Microsoft FORTRAN PowerStation for MS-DOS 1.0
  • Microsoft FORTRAN PowerStation for MS-DOS 1.0a
  • Microsoft Fortran Powerstation 32 for Windows NT 1.0
  • Microsoft Fortran Powerstation 32 for Windows NT 4.0

This article was previously published under Q117904

SUMMARY

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
				

Modification Type:MajorLast Reviewed:12/1/2003
Keywords:kbCompiler kberrmsg KB117904