[eclipse-clp-users] java - eclipse problem

From: carole dawood <carole.dawood_at_gmail.com>
Date: Tue, 20 Apr 2010 18:28:14 +0200
Hello,
Yeah if the list is supplied in the java code in the rpc directly, no errors
are shown BUT if it is taken from the user however it is printed correctly,
this error is shown. This is how my rpc is made :

CompoundTerm result= eclipse.rpc("X="+appendedList+",solve(X,Y,W,Z,32).");
and about the outputs , they are 3 (Y,W,Z) . I can not read them and when
printing the result i get this:

result is com.parctechnologies.eclipse.CompoundTermImpl with [functor=,
arity=2 arg(1)=com.parctechnologies.eclipse.CompoundTermImpl with [functor==
arity=2 arg(1)=[com.parctechnologies.eclipse.CompoundTermImpl with
[functor=item arity=8 arg(1)=1 arg(2)=4 arg(3)=3.0 arg(4)=null arg(5)=null
arg(6)=null arg(7)=null arg(8)=null]]
arg(2)=[com.parctechnologies.eclipse.CompoundTermImpl with [functor=item
arity=8 arg(1)=1 arg(2)=4 arg(3)=3.0 arg(4)=null arg(5)=null arg(6)=null
arg(7)=null arg(8)=null]]]
arg(2)=com.parctechnologies.eclipse.CompoundTermImpl with [functor=solve
arity=5 arg(1)=[com.parctechnologies.eclipse.CompoundTermImpl with
[functor=item arity=8 arg(1)=1 arg(2)=4 arg(3)=3.0 arg(4)=null arg(5)=null
arg(6)=null arg(7)=null arg(8)=null]] arg(2)=[] arg(3)=[] arg(4)=[]
arg(5)=32]]

Thank you a lot,
Carole Dawood
Computer Science and Engineering
German University in Cairo
Received on Tue Apr 20 2010 - 16:28:23 CEST

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET