DOCERR: Reference Manual Documents BZ Edit Descriptor Wrong

ID: Q49430

5.00 5.10 1.00 1.00a | 5.00 5.10 | 1.00 4.00

MS-DOS               | OS/2      | WINDOWS NT
kbprg kbdocerr

The information in this article applies to:

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.

Additional reference words: 5.00 5.10 1.00 4.00 KBCategory: kbprg kbdocerr KBSubcategory: FORTLngIss

Keywords          : kbFortranPS kbLangFortran 
Version           : 5.00 5.10 1.00 1.00a | 5.00 5.10
Platform          : MS-DOS NT OS/2 WINDOWS

Last Reviewed: May 2, 1998