Re: How to get the return value from gprolog in C?

"Michał Bieliński" <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>
Dnia 24 Listopada 2013, 00:29, N, daveti napisał:
> Hi there,
>
> I am trying to call gprolog in my C code. Instead of getting the
> solutions, wonder if I could get the gprolog function output
> (true/false) directly in my C code.

Yes.  Check return of Pl_Query_Call.

-- 
Michał Bieliński
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.