FIX: Strange Character in Warning for Illegal Edit List (108365)



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

This article was previously published under Q108365

SYMPTOMS

An attempt to compile a program that contains a FORMAT statement with the illegal edit list may fail with the following warning
warning F4989: 'X' : unexpected character in format
where 'X' is an extended ASCII character or no character at all. The character displayed should be a character from the edit list.

RESOLUTION

Correcting the edit list in the format statement eliminates the warning message.

STATUS

Microsoft has confirmed this to be a problem in Microsoft FORTRAN PowerStation 32 for Windows NT, version 1.0 and for MS-DOS, versions 1.0 and 1.0a. This problem was fixed in FORTRAN PowerStation 32 version 4.0.

MORE INFORMATION

The following program illustrates the problem:

Sample Code

C Compile options needed: none
301   format(O6) ! O not valid here
      end
				

Modification Type:MajorLast Reviewed:10/17/2003
Keywords:kbbug kbCompiler kbfix KB108365