users-prolog
[Top][All Lists]
Advanced

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

Re: dynamic clause


From: michel levy
Subject: Re: dynamic clause
Date: Sat, 11 Feb 2006 17:06:51 +0100
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

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





reply via email to

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