« Return to Thread: Doubt

Re: Doubt

by Benjamin L.Russell :: Rate this Message:

Reply to Author | View in Thread

Hi Marco,

This topic is also described on the following site:

SWI-Prolog 5.6.52 Reference Manual: Section 2.1 - 2.1.2 Executing a query:
http://gollem.science.uva.nl/SWI-Prolog/Manual/quickstart.html#sec:2.1.2

Benjamin L. Russell

--- On Tue, 4/22/08, Gerardo I. Simari <gisimari@...> wrote:
From: Gerardo I. Simari <gisimari@...>
Subject: Re: [SWIPL] Doubt
To: prolog@...
Date: Tuesday, April 22, 2008, 5:10 AM

Hi Marco,

The system is asking you if you want any more solutions, if there are any.
If you press enter, you are stating that you don't want more, otherwise you should
press ";" and you will get another solution or "No" if there are none left.

Hope that helped,
Gerardo.

On Mon, Apr 21, 2008 at 3:14 PM, Marco Perez <msmr@...> wrote:

Hi,

 

In SWI-Prolog, sometimes when I query the program, the answer is More?

 

E.g.

?- wumpus(4,4).

More? % then I press Enter

Yes % … and the system answers

 

What means More??


------------ For further info, please visit http://www.swi-prolog.org/ To unsubscribe, send a plaintext mail with "unsubscribe prolog " in its body to majordomo@...

 « Return to Thread: Doubt

LightInTheBox - Buy quality products at wholesale price