Re: Users-prolog Digest, Vol 97, Issue 4

Duncan Patton a Campbell <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Organization NeoText
Message-ID <[email protected]>
On Tue, 12 Jul 2011 12:00:10 -0400
[email protected] wrote:

> 
> They look helpful... I'll have to play around with them... though I've not
> yet worked out how to make the executable evaluate a default goal... which
> looks like a problem I'll have to solve first.

I believe what you are looking for is 

:- initialization(duit).

where duit is a goal that acts as the entrypoint to your code.

Otherwise  Gprolog uses c/unix programming conventions, such as
Makefiles and such.

Dhu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.