The information in this article applies to:
SUMMARYIn 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 query words: 5.00 5.10 1.00 4.00
Keywords : kbFortranPS kbLangFortran |
Last Reviewed: November 5, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |