Skip to content

feature request consult relative to current file #328

@Jean-Luc-Picard-2021

Description

@Jean-Luc-Picard-2021

Many Prolog systems implement the semantics that
consult, is not relative to the current working directory,
except in the case of a top-level request, but

rather relative to the file that is curently consulted.
I get this error, but there shouldn't be any error, since
the folder tests has a file 'nrev.p':

?- ['tests/suite.p'].
2024/08/10 21:44:17 error(existence_error(source_sink,nrev.p),consult/1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions