[Top][All Lists]

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

Re: Existence error

From: Daniel Diaz
Subject: Re: Existence error
Date: Tue, 16 Dec 2003 14:31:54 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007


reconsult does not exist in GNU Prolog, simply use consult/1.

Fredrik Ismyren wrote:
I'm using GNU Prolog 1.2.18 on Debian Linux and I get:
GNU Prolog 1.2.18
By Daniel Diaz
Copyright (C) 1999-2003 Daniel Diaz
| ?- reconsult('/tmp/prolcomp20933p3h').
uncaught exception:
| ?- ----

.. when, for example, consulting this simple file:
my_max(X,Y,X) :- X<Y.
my_max(X,Y,Y) :- X>=Y.

What am I doing wrong?

Ce message a subi une analyse antivirus par MailScanner ; il est vraisemblablement
sans danger.

reply via email to

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