Home | Notes | Languages | Programs | Homework |
Re: p3 program halting |
Steve Alvesteffer (salveste@VT.EDU)
Tue, 13 Nov 2001 19:16:19 -0800
Message-ID: <000901c16cba$bae6f6a0$da4f52c6@SteveAlvesteffer> Date: Tue, 13 Nov 2001 19:16:19 -0800 From: Steve Alvesteffer <salveste@VT.EDU> Subject: Re: p3 program halting
I had the same problem when I added the contents of the input file to the end of my code (for testing). The problem is in that last line:
?- print_solution, halt; halt. /* Run it */
I just removed that line and called print_solution myself after loading my program.
Thanks,
-Steve
----- Original Message -----
From: Chris
To: CS3304_91312@LISTSERV.VT.EDU
Sent: Tuesday, November 13, 2001 3:00 PM
Subject: [CS3304_91312] p3 program halting
Does anyone know what a possible problem(s) might be if the program loads fine but when the input is loaded prolog just exits? If so does anyone know how to find the error. Thanks
Home | Notes | Languages | Programs | Homework |