A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
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]
It is sorta covered in the
JavaRanch Style Guide
subject: defquery example from book not working for release > 6.1
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
Casting up thie hierarchy
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