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

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

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.


Additional reference words: 4.10 5.00 5.10
KBCategory: kbtool kbprb
KBSubcategory: FLIss


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.