DOCERR: Reference Manual INTEGER Size Example Incorrect (51492)



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 compiler for OS/2 5.0
  • Microsoft FORTRAN compiler for OS/2 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.

Modification Type:MajorLast Reviewed:12/1/2003
Keywords:KB51492