I think Steve Solomon wrote: > If I have a Value object that contains a constant string, int, float, or > symbol, is it possible to retrieve the constant value without a Context > object? Can I use toString(), then convert from String to Integer, > Boolean, Float/Double? Obviously this would only work for constants, not > variables and function calls.
For constant values, you can pass "null" for the context. If you are squeamish about this you can also just call Rete.getGlobalContext() and pass that; it won't be used. --------------------------------------------------------- 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] --------------------------------------------------------------------
