Hi, I have a question regarding Java to ECLiPSe interface. I have a prolog program that consists of a few modules. I would like to be able to call a predicate from a module. For this I tried such code: CompoundTerm ret = engine.rpc( new CompoundTermImpl(":", "problem", "test(V)" ) ); Unfortunately it does not work. I get the following error: type error in type error in is_a_module("problem") Of course earlier I have apriopriate engine.rpc("use_module(\"problem.ecl\")"); Moreover I can call a predicate from a module using C interface. I would be grateful for any explanation. Best regards -- [ Wit Jakuczun w.jakuczun_at_...116... ] [ WLOG Solutions http://wlogsolutions.com ]Received on Tue May 27 2008 - 13:47:42 CEST
This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST