Discussions related to Visual Prolog
hrai36
Posts: 4
Joined: 5 Mar 2014 13:50

Discontiguous facts

Unread post by hrai36 »

I have a project in which I am dynamically saving facts (functors) . The facts so saved are not contiguous. Because of this when another part of the project uses these facts it is unable to process the newly added facts. How can I have prolog pick all the facts. I know there is a discontiguous directive, but how is it used in Visual prolog?
User avatar
Thomas Linder Puls
VIP Member
Posts: 1398
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls »

I think that I don't really understand the scenario. Are several programs running simultaneously and need to share data?
Regards Thomas Linder Puls
PDC
Harrison Pratt
VIP Member
Posts: 439
Joined: 5 Nov 2000 0:01

Unread post by Harrison Pratt »

I believe that discontiguous is a compiler directive in other prologs. It may pop up in an error message at compilation or run time in those languages if clauses having the same signature are separated by one or more dissimilar clauses.
User avatar
Thomas Linder Puls
VIP Member
Posts: 1398
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls »

So this seems to be a question concerning some other Prolog context (i.e. other than Visual Prolog).

In any case, there is no discontiguous directive in Visual Prolog, and the concept of discontiguous facts does not exist.
Regards Thomas Linder Puls
PDC
hrai36
Posts: 4
Joined: 5 Mar 2014 13:50

Thanks

Unread post by hrai36 »

Thanks, I realize now that visual prolog does not require a directive. It automatically assumes discontinuous. My bad.
User avatar
Thomas Linder Puls
VIP Member
Posts: 1398
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls »

No problem. I have never realized that we should/could complain about non-contiguous facts ;-).
Regards Thomas Linder Puls
PDC
User avatar
George
Active Member
Posts: 47
Joined: 19 Sep 2011 8:54

Unread post by George »

I have a project in which I am dynamically saving facts (functors) . The facts so saved are not contiguous. Because of this when another part of the project uses these facts it is unable to process the newly added facts. How can I have prolog pick all the facts. I know there is a discontiguous directive, but how is it used in Visual prolog?
georgeananth.prolog@gmail.com
Kind Regards,
George Ananth. S | Prolog Developer
georgeananth.prolog@gmail.com
+91 9791499282
Post Reply