Re: Conditional includes...

Sean Charles <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>
Finally I think the penny dropped and I realised that (like C, PHP and all the others) that in fact I can put this in my utils.pl file:

:-if( \+ current_predicate(utils_included/0)).
utils_included.
:
:
:
:-endif

and all of a sudden life is good again!

Thanks again Paulo!
:)
Sean

_______________________________________________
Users-prolog mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/users-prolog
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.