users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dynamic clause


From: Dennis Decker Jensen
Subject: Re: dynamic clause
Date: Fri, 10 Feb 2006 19:09:09 GMT

michel levy writes:
> 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:

:- dymanmic(dyn_predicate/3).

I cannot remember the syntax correctly, so please check the
documentation yourself.

--
Dennis Decker Jensen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]