DOCERR: Reference Manual Documents BZ Edit Descriptor Wrong (49430)



The information in this article applies to:

  • Microsoft FORTRAN Compiler for MS-DOS 5.0
  • Microsoft FORTRAN Compiler for MS-DOS 5.1
  • 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
  • Microsoft FORTRAN compiler for OS/2 5.0
  • Microsoft FORTRAN compiler for OS/2 5.1

This article was previously published under Q49430

SUMMARY

In the Microsoft FORTRAN "Reference" manual for versions 5.0 and 5.1, the last paragraph of page 86, in the FORTRAN PowerStation32 for NT Programmer's Guide, page 116 (second paragraph), in the FORTRAN PowerStation 1.0 for Windows Programmer's Guide, on page 88 (second paragraph), and in the FORTRAN PowerStation 32, version 4.0 on-line docs, you will find the following statement:

... so the first thing the I/O system does is to pad the record 502 on the right with two blanks. If BZ editing were in effect, those two blanks would be interpreted as zeros, and the record would be equal to 50200.

This statement is incorrect. The BZ edit descriptor is designed to replace any spaces in the input with zeros, provided the space is not a leading space.

Contrary to the statement in the documentation, the I/O system does not pad spaces to the right of the two; therefore, the BZ edit descriptor does not add zeros to the end of the number.

When BZ editing is in effect, if the user types 502 and presses ENTER, the variable read receives the value 502, not 50200. However, if the user enters 502 followed by two spaces and presses ENTER, the variable read receives the value 50200.

Modification Type:MajorLast Reviewed:12/1/2003
Keywords:kbLangFortran KB49430