Microsoft KB Archive/51492

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 16:57, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


DOCERR: Reference Manual INTEGER Size Example Incorrect

Article ID: 51492

Article Last Modified on 12/1/2003



APPLIES TO

  • Microsoft FORTRAN Compiler 5.0
  • Microsoft FORTRAN Compiler 5.1
  • Microsoft FORTRAN Compiler 5.0
  • Microsoft FORTRAN Compiler 5.1



This article was previously published under Q51492

SUMMARY

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 query words: 5.00 5.10

Keywords: KB51492