D.... Typoes !!!
In your rule2_ReservationToCheckout rule you have "days-requested" instead
of "days-required" :
(defrule rule2_ReservationToCheckout
(current-name ?current-name)
(reservation (start-date ?start-date)(days-required ?days-requested)
...
Emmanuel Lecharny, IKTEK
06 08 33 32 61, www.iktek.com <http://www.iktek.com>
-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De
la part de Michael McConnell
Envoye : mercredi 13 juin 2001 22:58
A : jess
Objet : JESS: Stuck
I know, I know -- rtfm.
I HAVE. I don't see it.
This problem probably doesn't need the scrutiny of Dr.
Friedman-Hill, but...
I am completely mystified by whatever I am doing
wrong.
If anyone could be so kind as to degne to share a few
pearls with me, they will undoubledly attain much good
karma.
------------------------
Jess> (batch AVIS\\avis-proto.clp)
Jess reported an error in routine ValueVector.get
while executing (batch
AVIS\avis-rules-proto-rules.clp)
while executing (batch AVIS\avis-proto.clp).
Message: Bad index -3 in call to get() on this
vector: (name nil -1 loc nil -1 s
1 days-required nil -1 rate-type nil -1 res-num nil -1
car-group-name nil -1).
Program text: ( batch AVIS\avis-proto.clp ) at line
1.
at jess.ValueVector.get(Unknown Source)
at jess.Deftemplate.getSlotType(Unknown
Source)
at jess.Jesp.a(Unknown Source)
at jess.Jesp.int(Unknown Source)
at jess.Jesp.case(Unknown Source)
at jess.Jesp.do(Unknown Source)
at jess.Jesp.char(Unknown Source)
at jess.Jesp.parse(Unknown Source)
at jess.Batch.batch(Unknown Source)
at jess.Batch.call(Unknown Source)
at jess.d2.a(Unknown Source)
at jess.Funcall.execute(Unknown Source)
at jess.Jesp.a(Unknown Source)
at jess.Jesp.char(Unknown Source)
at jess.Jesp.parse(Unknown Source)
at jess.Batch.batch(Unknown Source)
at jess.Batch.call(Unknown Source)
at jess.d2.a(Unknown Source)
at jess.Funcall.execute(Unknown Source)
at jess.Jesp.a(Unknown Source)
at jess.Jesp.char(Unknown Source)
at jess.Jesp.parse(Unknown Source)
at jess.Main.execute(Unknown Source)
at jess.Main.main(Unknown Source)
Jess>
-----------------------------
rules.clp file attached.
Regards.
Michael
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------