Knowledge Base |

# BUG: Dependencies Not Scanned If Include Statement Is Labeled

Article ID: 106732

Article Last Modified on 10/17/2003

APPLIES TO

- Microsoft FORTRAN PowerStation 1.0 Standard Edition
- Microsoft FORTRAN PowerStation 32

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

Additional query words: 1.00 slow scan disable

Keywords: KB106732