Re: JPL problem (newbie)
- From: "levilista@xxxxxxxxx" <levilista@xxxxxxxxx>
- Date: Sun, 25 May 2008 13:35:32 -0700 (PDT)
On May 22, 5:21 pm, Chip Eastham <hardm...@xxxxxxxxx> wrote:
On May 22, 10:36 am, "levili...@xxxxxxxxx" <levili...@xxxxxxxxx>
wrote:
It seems I accidentally deleted the first part of my message, but I
guess you see, that I tried the to run the "Getting started" example.
It should substitute to the variable X, but it remains, but the query
gives back no solution.
With the caveat that I'm no expert, my suspicion is that your
Java variable X has nothing to do with the "X" that you'd want
to appear in the Prolog query.
The Prolog query should be a Java string, and likewise the
argument to the .get method should be a string. See here:
http://www.swi-prolog.org/packages/jpl/release_notes.html
about halfway down the page.
regards, chip
Yes, that was the problem.
.
- References:
- JPL problem (newbie)
- From: levilista@xxxxxxxxx
- Re: JPL problem (newbie)
- From: levilista@xxxxxxxxx
- Re: JPL problem (newbie)
- From: Chip Eastham
- JPL problem (newbie)
- Prev by Date: jpl.JRef usage
- Next by Date: SAS 2008 - Call for participation
- Previous by thread: Re: JPL problem (newbie)
- Next by thread: Re: JPL problem (newbie)
- Index(es):