[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Frustrations/problems with GNU Prolog.
From: |
Steve641 |
Subject: |
Re: Frustrations/problems with GNU Prolog. |
Date: |
Mon, 11 Jul 2011 16:23:57 -0700 (PDT) |
Daniel Diaz-3 wrote:
>
> This is due to a gcc bug. This should not prevent gprolog from working.
> If you want a clean compile, get the last version.
> http://gprolog.org/gprolog-1.4.0.tar.gz
>
That gets rid of the warnings, thanks!
Daniel Diaz-3 wrote:
>
> You have to inform the compiler validRanges/2 is a dynamic predicate.
> Add the following directive to your Prolog file:
>
> :- dynamic(validRanges/2).
>
Perfect - thanks again. :)
Daniel Diaz-3 wrote:
>
> You can look at the following built-in predicates: argument_counter,
> argument_value, argument_list
>
> http://gprolog.org/manual/html_node/gprolog051.html#toc201
>
They look helpful... I'll have to play around with them... though I've not
yet worked out how to make the executable evaluate a default goal... which
looks like a problem I'll have to solve first.
--
View this message in context:
http://old.nabble.com/Frustrations-problems-with-GNU-Prolog.-tp32037478p32042196.html
Sent from the Gnu - Prolog - Users mailing list archive at Nabble.com.