From nissim@math.ufl.edu Tue Aug  7 20:06:10 2001
Received: from smtp.ufl.edu (sp28fe.nerdc.ufl.edu [128.227.128.108])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f77I6Ab24045
	for <prolog@swi.psy.uva.nl>; Tue, 7 Aug 2001 20:06:10 +0200 (MET DST)
Received: from computer (p083n132.shands.ufl.edu [10.227.83.132])
	by smtp.ufl.edu (8.11.2/8.11.3/2.2.1) with SMTP id f77I6Fv34714
	for <prolog@swi.psy.uva.nl>; Tue, 7 Aug 2001 14:06:15 -0400
Message-ID: <002101c11f43$0ebe31a0$8453e30a@computer>
From: "Nissim Broudo" <nissim@math.ufl.edu>
To: <prolog@swi.psy.uva.nl>
References: <200108070053.MAA507668@atlas.otago.ac.nz>
Date: Tue, 7 Aug 2001 14:15:38 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Subject: [SWIPL] Calling more than one predicate

I've been using SWI-Prolog for a short amount of time and I completed one
small project in inductive logic programming using SWI.  I'm very impressed
with the package and its ease of use and extendibility with C.

What's the feasibility of being able to call more than one predicate in
future versions of SWI-Prolog ?  I would like to have 2 open predicates

qid1 = PL_open_query(NULL, PL_Q_NORMAL, my_predicate_1, term1);
qid2 = PL_open_query(NULL, PL_Q_NORMAL, my_predicate_2, term2);

PL_next_solution(qid1);
PL_next_solution(qid2);

PL_close_query(qid1);
PL_close_query(qid2);

Nissim Broudo

Department of Mathematics &
Department of Molecular Genetics and Microbiology
University of Florida

