Thankyou Ernest once again for your suggestions.
Solved my problem!
One question though - is the word 'getall' a reserved word anywhere in Jess or Java? I used it for a userfunction and after hours of trying to find out why it was giving the 'no such variable' error it worked after I changed the name.
This userfunction was called only once and the code did not clash with any of the other codes
so I am assuming that 'getall' is a reserved word or am I wrong.
so I am assuming that 'getall' is a reserved word or am I wrong.
Jenny
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
I think sivan k wrote:
>
> You mentioned that you tested my code and it seemed to work fine. I was still having problems so I left this problem and went on to work on something else. After I returning to this program I now get an error saying Bad index 3 in call to get() on this vector (compute ?text ?arg). I am totally baffled. What does this error mean?
>
That means that something is calling vv.get(3) in the Userfunction. As
you can see, though, this clearly isn't the case.
> I also mentioned that I tested the userfunction with integers which works fine (ie adding two integers and retrning the result).
And I suspect this is the problem. Since the error message says the
code is doing something it's clearly not doing, the error message must
be talking about some other code. I think you may have multiple
Userfunction .j! ava and .class files laying around, and there may be
some confusion. Take a careful look, get rid of any extraneous code,
and make sure you use a different name for each Userfunction you
implement to avoid confusion in the future.
---------------------------------------------------------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://herzberg.ca.sandia.gov
--------------------------------------------------------------------
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]
--------------------------------------------------------------------
Do you Yahoo!?
Better first dates. More second dates. Yahoo! Personals
