From p.singleton@keele.ac.uk  Wed Feb  9 23:59:42 2000
Received: from cmailg4.svr.pol.co.uk (cmailg4.svr.pol.co.uk [195.92.195.174])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id XAA16687
	for <prolog@swi.psy.uva.nl>; Wed, 9 Feb 2000 23:59:42 +0100 (MET)
Received: from modem4294967270.fashion.dialup.pol.co.uk ([195.92.4.154] helo=keele.ac.uk)
	by cmailg4.svr.pol.co.uk with esmtp (Exim 3.13 #0)
	id 12Ig5a-0006gi-00
	for prolog@swi.psy.uva.nl; Wed, 09 Feb 2000 23:00:02 +0000
Message-ID: <38A1F16C.FB6BAECD@keele.ac.uk>
Date: Wed, 09 Feb 2000 22:59:56 +0000
From: Paul Singleton <p.singleton@keele.ac.uk>
Organization: SmartArts Computing Consultancy
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: SWI Prolog <prolog@swi.psy.uva.nl>
Subject: initialising SWI-Prolog from foreign code
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Is there a safe, portable way to discover, from foreign code,
whether Prolog has already been successfully initialised?

Is there a way to "clean up the Prolog environment" without
exiting from the host process?

If PL_initialise() is called when Prolog is already initialised,
does it put Prolog into its normal freshly initialised state?

Paul Singleton

