Re: dynamic clause

michel levy <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>
Dennis Decker Jensen wrote:
>>I get an error message when I tried to compile a program with a call to
>>an undefined reference to `predicate(tracable/1).
>>But for me, it was not an error but a call to an dynamic predicate.
>>Is it possible to use dynamic predicate in a program that I want to 
>>compile ?
> Yes, if you declare dynamic predicates (beforehand) with something
> like this:
> 
> :- dynamic(dyn_predicate/3).
> 
> --
> Dennis Decker Jensen
> 
Thank you really much for your information, it works perfectly.
-- 
Michel Levy
36 rue George Sand
38400 Saint Martin d'Heres
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.