Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request consult relative to current file #328

Open
Jean-Luc-Picard-2021 opened this issue Aug 10, 2024 · 0 comments
Open

feature request consult relative to current file #328

Jean-Luc-Picard-2021 opened this issue Aug 10, 2024 · 0 comments

Comments

@Jean-Luc-Picard-2021
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant