DOCERR: Reference Manual INTEGER Size Example Incorrect

Last reviewed: July 18, 1995
Article ID: Q51492
The information in this article applies to:
  • Microsoft FORTRAN for MS-DOS and OS/2, versions 5.0, 5.1

The Microsoft FORTRAN "Reference" manual for versions 5.0 and 5.1 includes an incorrect example on the last line of page 191.

For version 5.0, the line reads as follows:

      INTEGER*22 q, m12*24, ivec(10)*24, z*24(10)

For version 5.1, the line reads as follows:

      INTEGER*2 q, m12*4, ivec(10)*4, z*24(10)

The corrected line is as follows:

      INTEGER*2 q, m12*4, ivec(10)*4, z*4(10)

The number after the "*" in the INTEGER type declaration statement represents the length of the data item. It must be 1, 2, or 4.


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


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 18, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.