Consult out of project folder

Pedro Fialho <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>
Hi,

I was trying to consult a project's "main" prolog source file from outside \ 
the project's folder while I got a path reference error, since the main.pl \
file uses the "include" predicate with relative path names not acessible \ 
from my project's source files.

Is it possible to define a "default path" specifically for a certain consult \ 
operation ? I'd like to write my project's source files inside a folder \ 
which contains the other projects folders and consult they're "main prologs" \ 
from my source files.


Best regards,
Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.