Dear Shrirang, I notice only now that the error you get gives more precise information: it also says what is the predicate that raises the error: call(_1933). This means that your program executes call(X), where X is a variable. You cannot invoke a predicate which is a variable. Hope this helps. Marco On 27/11/15 03:45, Edgaonkar, Shrirang wrote: > Dear clp users, > > > > I have situation where I get one solution for my goal correctly. But on backtracking when there are no more solutions, I get the following call to error_handler and subsequently the program aborts. > > > > error_handler(4, call(_1933), eclipse, eclipse) > > > > What are the possible conditions when I get such a call to error_handler ? > > > > Thanks and Regards, > > Shrirang Edgaonkar > > > > ______________________________________________________________________ > Disclaimer: This email and any attachments are sent in strictest confidence > for the sole use of the addressee and may contain legally privileged, > confidential, and proprietary data. If you are not the intended recipient, > please advise the sender by replying promptly to this email and then delete > and destroy this email and any attachments without any further use, copying > or forwarding. > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > ECLiPSe-CLP-Users mailing list > ECLiPSe-CLP-Users_at_lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/eclipse-clp-users > -- Marco Gavanelli Associate Professor Ph.D. in Computer Science Dept of Engineering University of Ferrara Tel/Fax +39-0532-97-4833 http://docente.unife.it/marco.gavanelliReceived on Fri Nov 27 2015 - 14:21:53 CET
This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:21 CEST