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 .java 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] --------------------------------------------------------------------
