users-prolog
[Top][All Lists]
Advanced

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

Re: dynamic directive


From: Jeff Pitman
Subject: Re: dynamic directive
Date: Sun, 21 Oct 2001 00:29:26 -0700 (PDT)

In other prologs "dynamic" seems to be defined as an
operator rather than a rule.

Porting this to gprolog:

:- dynamic target/1, home/1, current/1.

Should look like this:

:- dynamic( target/1, home/1, current/1 ).


>>bruno wrote<<

hi all,

I try to port some code from sicstus to gnu-prolog
(I'm a beginner in 
prolog
I must say). And to my surprise, the first dynamic
directive don't want 
to
work.

that is :

:- dynamic target/1, home/1, current/1.

it says me that a syntax error exists on the 12th
character ?

what can be wrong ?

thanks

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com



reply via email to

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