Skip to content

#INCLUDE always searching path #11

Open

Description

@Fillimerica

I am having a behavior that is different from the help file concerning the #INCLUDE command.
If I include a path to the header file, the file at that path is read as documented.
However, if there is no header file at the entered path, but there is an identically named file in the same directory as the program it is being included in, then the explicit path is ignored and the alternate header file is used instead.

In the remarks section, this sentence needs to be replaced: "When you include a path with the header file name, Visual FoxPro searches for the header file only in the specified location."

Maybe this would be an acceptable substitute: "When you include a path with the header file name, Visual FoxPro searches for the header file first in the specified location. If it is not found, Visual FoxPro searches for the header file in the same directory where the program is located."

Activity

  1. self-assigned this
    on Jul 16, 2020
  2. added 2 commits that reference this issue on Jun 24, 2022
    7a18f27
    16b8e0d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions