From bill@billnet.org Tue May  1 01:08:04 2001
Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f3UN83324442
	for <prolog@swi.psy.uva.nl>; Tue, 1 May 2001 01:08:03 +0200 (MET DST)
Received: from computer.billnet.org (pool-63.52.25.37.atln.grid.net [63.52.25.37])
	by swan.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id QAA18128;
	Mon, 30 Apr 2001 16:06:36 -0700 (PDT)
Message-Id: <5.0.2.1.0.20010430190805.00a12b50@mail.earthlink.net>
X-Sender: billhworth@mail.earthlink.net
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Mon, 30 Apr 2001 19:12:52 -0400
To: leopando <K.P.Leopando@bton.ac.uk>, prolog@swi.psy.uva.nl
From: Bill Hollingsworth <bill@billnet.org>
Subject: Re: [SWIPL] beginners question
In-Reply-To: <Pine.GSO.4.10.10104301926250.5455-100000@luna.bton.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed


At 07:27 PM 4/30/2001 +0100, leopando wrote:

>I am using WinProlog 4.040 and I want to change the text heap and program
>heap configurations.  Im using online help files and have tried using the
>predicate switch/2 eg
>
>         switch(/P,4000), % program heap to 4000
>         switch(/H,1000), % text heap to 1000
>
>coz the help files refer to the text and heap command line switches as
>"/H" and "/P" respectively.  Could someone please tell me how to use

I think you are referring to LPA-Prolog. In this case /H and /P are only 
command line switches and do not refer to predicates in  Prolog. Look at 
the free/9 predicate for more information about these. free/9 tells you how 
much space is available for each memory type. The help section is very good 
at explaining them.

Bill Hollingsworth
Computer Science Department
The University of Georgia
http://www.billnet.org

