Subject: Re: Re: Executable File

From: Xiuming Huang <[email-masked]>
Date: Mon, 9 Oct 2000 17:24:6 +0800

Hi,

I noticed that in the new releases of SWI Prolog, there is no 'qsave_program'. In 
the older ones such as 3.3.8, qsave_program works for plwin, but not under plcon. 
Any hints?

Best regards,

Xiuming Huang

In 2000-10-8 14:50:00 you wrote:
>For MS-Windows:
>
>1.- Save your programa in a file, say test.pl.
>
>2.- load it into SWI-PROLOG plcon shell (not in plwin) ?[test].
>
>3.- Execute ?qsave_program(testing, [autoload=true, stand_alone=true,
>goal=main]).
>
>4.- By now, you should have an executable file called testing.exe
>in your working dir. Move that file to the cgi-dir of your
>web-server. Make sure that SWI library  libpl.dll, goes with it.
>(try to execute it from a DOS windows, to see if it´s ok). 
>
>5.- Run it the from Internet (provided, of course, you already
>have a running webserver)
>
>http://whereveryourserveris.com/scritps/testing.exe
>
>Jacinto A. Dávila
>
>On Fri, 6 Oct 2000, Oliver wrote:
>
>> Hi there,
>> 
>> Please, can anybody tell us how we can run the following program:
>> 
>>     main :-
>>         write('Content-type: text/html'), nl, nl,
>>         write('<HTML>'),
>>         write('Hello world.'),
>>         write('</HTML>').
>> 
>> in the WWW? We use SWI-Prolog. Do we need CGI? If yes, how can we make a
>> 
>> CGI-file?
>> 
>> So long,
>> 
>> Gerd
>> 
>> 
>> 
>> 
>> ----------------
>> * To UNSUBSCRIBE, please use the HTML form at
>> 
>>     http://www.swi.psy.uva.nl/projects/SWI-Prolog/index.html#mailinglist
>> 
>> or send mail to [email-masked] using the Subject: "unsubscribe"
>> (without the quotes) and *no* message body.
>> 
>> ** An ARCHIVE of this list is maintained at
>> 
>>     http://www.swi.psy.uva.nl/projects/SWI-Prolog/mailinglist/archive/
>> 
>
>
>
>
>----------------
>* To UNSUBSCRIBE, please use the HTML form at
>
>    http://www.swi.psy.uva.nl/projects/SWI-Prolog/index.html#mailinglist
>
>or send mail to [email-masked] using the Subject: "unsubscribe"
>(without the quotes) and *no* message body.
>
>** An ARCHIVE of this list is maintained at
>
>    http://www.swi.psy.uva.nl/projects/SWI-Prolog/mailinglist/archive/
>
>
>**********************************************************************
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the system manager.
>
>This footnote also confirms that this email message has been swept 
>for the presence of computer viruses.
>
>**********************************************************************