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)
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':