2008/5/28 Wit Jakuczun <wit.jakuczun_at_gmail.com>: > Thank you for the answer. I have realised my stupid mistake a minute > after sending a post to a group. > > By the way I would like to clarify another issue. > Suppose I have a predicate: test. > 1) test has arity 1: > test(V) :- V is 1. > Now using rpc: > CompoundTerm ret = engine.rpc( > new CompoundTermImpl( > "test", > null) > ); > > does not work. I get a following exception > com.parctechnologies.eclipse.CompoundTermImpl.<init>(CompoundTermImpl.java:68) > I would like to add that the following code: CompoundTerm ret = enigne.rpc( new CompoundTermImpl( new Object[] {"test", null} ) ); is working. Best regards [ Wit Jakuczun w.jakuczun_at_wlogsolutions.com ] [ WLOG Solutions http://wlogsolutions.com ]Received on Wed May 28 2008 - 00:51:49 CEST
This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET