Re: Frustrations/problems with GNU Prolog.

Steve641 <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>

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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.