Path: utzoo!utgpu!cunews!cognos!garym From: garym@cognos.UUCP (Gary Murphy) Newsgroups: comp.lang.prolog Subject: Re: New Question Re: PDC prolog gripe/question Summary: adding predicates to the TurboProlog library Message-ID: <8933@cognos.UUCP> Date: 17 Oct 90 16:26:31 GMT References: <90285.232430F0O@psuvm.psu.edu> <145400@kean.ucs.mun.ca> <90287.103007F0O@psuvm.psu.edu> <146057@kean.ucs.mun.ca> Reply-To: garym@cognos.UUCP (Gary Murphy) Organization: Cognos Inc., Ottawa, Canada Lines: 9 You _can_ add predicates to the TurboProlog .LIB, but because of the .SYM/project restriction, all .LIB predicates must be written in C! I haven't tried, but you might get away with coding the predicates in prolog and declaring them as global predicates with "language c", but since you will want them in a module (not the root, which would have the goal), and since modules require the "project" specification, I would expect the .SYM to once again get in the way.