BUG: Dependencies Not Scanned If Include Statement Is Labeled (106732)



The information in this article applies to:

  • Microsoft FORTRAN PowerStation for MS-DOS 1.0
  • Microsoft Fortran Powerstation 32 for Windows NT 1.0

This article was previously published under Q106732

SYMPTOMS

Dependencies are not scanned for include files containing statement labels (for example, line numbers). Also, the included file doesn't appear in the Visual Workbench file list.

RESOLUTION

Do not use statement labels with include statements.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of the article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

To demonstrate this problem, follow these steps:

  1. In the Visual Workbench, create a project containing the sample program; it will scan dependencies for "FLIB.FI" but not for "FLIB.FD."
  2. Display the File List (click the icon below the File menu). FLIB.FI will be listed but not FLIB.FD.
NOTE: If the include files are not being modified, and if the project is large and is modified often, placing statement labels on include statements will speed up the process of scanning dependencies.

Sample Code

      include 'flib.fi'
  2   include 'flib.fd'
      print *, 'Hello'
      end
				

Modification Type:MajorLast Reviewed:10/17/2003
Keywords:KB106732