For Programmers: Free Programming Magazines  


Home > Archive > Prolog > March 2004 > Re: How to use cntr_inc(Counter,Value)?More on Counter in Prolog!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: How to use cntr_inc(Counter,Value)?More on Counter in Prolog!
Amzi! inc.

2004-03-27, 12:10 am

See:

http://www.amzi.com/manuals/amzi7/p...incCounterValue

Regards,
Mary Kroening
Amzi! inc.

"gwizbmc" <gwizbmc@hotmail.com> wrote in message
news:543500f79571194b54f9e9149b5b0ffa@lo
calhost.talkaboutprogramming.com...
> using findall/3 is obvious. I am looking for a less redundant solution

that stores only an incremented value for condition satisfying facts,
instead of storing the facts themselves in a list.
>
> Any explanation on the use of cntr_inc/2(built-in in AMZI) would be

appreciated
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com