Re: How to return clause in findall/3
From: Pere Montolio (tmp123_at_menta.net)
Date: 08/12/04
- Next message: reader: "Re: Help I'm stuck!"
- Previous message: rhapsody: "Re: How to return clause in findall/3"
- In reply to: rhapsody: "Re: How to return clause in findall/3"
- Next in thread: Pere Montolio: "Re: How to return clause in findall/3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 12 Aug 2004 11:41:15 -0700
"rhapsody" <blurrynight@yahoo.com> wrote in message news:<f58aded771bea22dbd46076ee25f9533@localhost.talkaboutprogramming.com>...
> Is it because I am using Visual Prolog? It gives error says 'variable
> expected' at the [A,B,C]
>
> findall([A,B,C],sc(A,B,C),List), write(List), nl.
Sorry, I'm working in Linux with SWI-Prolog. I've no Visual Prolog available.
- Next message: reader: "Re: Help I'm stuck!"
- Previous message: rhapsody: "Re: How to return clause in findall/3"
- In reply to: rhapsody: "Re: How to return clause in findall/3"
- Next in thread: Pere Montolio: "Re: How to return clause in findall/3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]