|
Hi Ludovic, I also saw the mail is no longer valid. I don't know PS/SC so I'm of little help. However, from the Prolog part, if a solution is missing maybe you should force a backtrack to obtain it. Try to change your code as follows: :- initialization(start0).
start0 :-
start,
fail.
start0 :-
write('no more solutions'), nl.
NB: the initialization now calls start0 which calls start and force
backtracking with fail. When no more solution exists the second clause
of start0 is executed, which simply shows a message.Hope this helps Ludovic Rousseau a écrit : On Thu, Oct 2, 2008 at 10:22 AM, Daniel Diaz <[EMAIL PROTECTED]> wrote: -- Ce message a été vérifié par MailScanner pour des virus ou des polluriels et rien de suspect n'a été trouvé. |
_______________________________________________ Users-prolog mailing list [email protected] http://lists.gnu.org/mailman/listinfo/users-prolog
