I think Joe wrote: > > My Problem is that when the course number contains > just numbers, the rule does not work,even though the > course is in the factbase. But when the course number > has a letter after it (ex. MAC2311H) it works fine. Is > there sime way to make Jess treat all number slots as > SYMBOLS and not integers?
Not symbols, no, but strings. Change your Java code to use RU.STRING instead of RU.ATOM, and use double quotes whenever you write a literal number that you'd like to be interpreted as a string. --------------------------------------------------------- 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] --------------------------------------------------------------------
