From jan@swi.psy.uva.nl  Mon Sep 13 14:53:16 1999
Received: from gollem.swi.psy.uva.nl (jan@gollem [145.18.114.15])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id OAA01166
	for <prolog@swi.psy.uva.nl>; Mon, 13 Sep 1999 14:53:16 +0200 (MET DST)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.8.8/8.8.8) id OAA01580;
	Mon, 13 Sep 1999 14:53:59 +0200
From: Jan Wielemaker <jan@swi.psy.uva.nl>
To: prolog@swi.psy.uva.nl, "Πέτρος Τσέλιος" <tpe@aegean.gr>
Subject: Re: Compiling a Prolog program to a stand alone application
Date: Mon, 13 Sep 1999 14:50:16 +0200
X-Mailer: KMail [version 0.7.9]
Content-Type: text/plain
References: <003301beea8f$2ab54be0$f4b0fbc3@wmstr>
MIME-Version: 1.0
Message-Id: <9909131453590S.00286@gollem>
Content-Transfer-Encoding: 8bit

On Thu, 19 Aug 1999, Πέτρος Τσέλιος wrote:
>Hallo to everyone,
>I have (again) a compilation problem. But this time is a litle easier.
>According to the manual, if we use the "qsave_program('filename.exe',
>stand_alone(on))" command, we will have an executable program. Is that
>correct? If so, When I tried that, Prolog said "NO". What am I doing
>wrong?

The options argument must be a list, and a bool is true or false:

?- qsave_program('x.exe', [stand_alone(true)]). 

As windows has nothing like the Unix #!/path/to/emulator mechanism
and the plwin.exe frontent is small anyhow, stand_alone(true) is the
default on Windows.  Adding .exe is default too, so all this is the
same as qsave_program(x).

	--- Jan

