Re: How to use cntr_inc(Counter,Value)?More on Counter in Prolog!
From: Amzi! inc. (info_at_nospam.amzi.com)
Date: 03/12/04
- Next message: Amzi! inc.: "Re: Beginner"
- Previous message: Amzi! inc.: "Re: java vs prolog"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 12 Mar 2004 13:33:54 -0500
See:
http://www.amzi.com/manuals/amzi7/pro/ref_execution.htm#cntrincCounterValue
Regards,
Mary Kroening
Amzi! inc.
"gwizbmc" <gwizbmc@hotmail.com> wrote in message
news:543500f79571194b54f9e9149b5b0ffa@localhost.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
>
- Next message: Amzi! inc.: "Re: Beginner"
- Previous message: Amzi! inc.: "Re: java vs prolog"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]