PRB: Source Lines Beginning in Columns 73-80 Not Ignored (32323)



The information in this article applies to:

  • Microsoft FORTRAN Compiler for MS-DOS 4.1
  • Microsoft FORTRAN Compiler for MS-DOS 5.0
  • Microsoft FORTRAN Compiler for MS-DOS 5.1
  • Microsoft FORTRAN compiler for OS/2 4.1
  • Microsoft FORTRAN compiler for OS/2 5.0
  • Microsoft FORTRAN compiler for OS/2 5.1

This article was previously published under Q32323

SYMPTOMS

If a source line in an application begins in columns 73 through 80, the compiler generates correct code for that line, even though the source code should be ignored according to the ANSI standard.

CAUSE

By default, the M editor converts every eight spaces into a tab character to save space in the source file. However, this process causes problems for the compiler because the compiler does not correctly interpret the tab characters.

RESOLUTION

To address this problem, place the following statement into your TOOLS.INI file:

ENTAB:0

Because this statement prevents the M editor from converting spaces to tabs, characters past column 72 are correctly ignored.

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