Re: JPL problem (newbie)
- From: Chip Eastham <hardmath@xxxxxxxxx>
- Date: Thu, 22 May 2008 08:21:06 -0700 (PDT)
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
.
- Follow-Ups:
- Re: JPL problem (newbie)
- From: levilista@xxxxxxxxx
- Re: JPL problem (newbie)
- References:
- JPL problem (newbie)
- From: levilista@xxxxxxxxx
- Re: JPL problem (newbie)
- From: levilista@xxxxxxxxx
- JPL problem (newbie)
- Prev by Date: Re: JPL problem (newbie)
- Next by Date: Re: JPL problem (newbie)
- Previous by thread: Re: JPL problem (newbie)
- Next by thread: Re: JPL problem (newbie)
- Index(es):