File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Other Java Products and Servers
defquery example from book not working for release > 6.1
Joined: Sep 21, 2004
Sep 21, 2004 22:36:00
Why is the following example extracted from Jess in Action
(declare (variables ?lower ?upper))
(gift (price ?p&
and (> ?p ?lower) (< ?p ?upper))))
is generating the following message:
Jess reported an error in routine HasLHS.addPattern
Message: Variable used before definition: lower
What is the updated correct writing of the defquery?
Again it is working fine in 6.1 p6 not in 7.0 a1
author and iconoclast
Joined: Jul 08, 2003
Sep 22, 2004 06:10:00
Welcome to JavaRanch!
This is a bug. Jess 7.0a1 just came out on Friday, but this bug has already been reported. There will be a 7.0a2 soon that will fix the reported bugs and add some more new stuff.
[Jess in Action]
I agree. Here's the link:
subject: defquery example from book not working for release > 6.1
Casting up thie hierarchy
Can you please tell me what happens to the constructor in the example of INHERITANCE?
hi how can I appendReplace multiple values in java.util.regex
Convert a char from lower case to uppercase
problem regarding DatabaseMetaData.....
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014