>From ejfried Tue Jan 11 03:44:43 2000 >> Question 2: Knowing that slot values in Jess are typeless, how do I specify >> a rule pattern that will correctly match against NewThing objects? > >(thing (value ?X&=(long "12345"))) should work and is somewhat less >ugly than (thing (value ?X&:(eq ?X (long "12345")))). > I was sleepy when I wrote this - of course simply (thing (value =(long "123"))) works too and is even less ugly. --------------------------------------------------------- Ernest Friedman-Hill Distributed Systems Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 Org. 8920, MS 9012 [EMAIL PROTECTED] PO Box 969 http://herzberg.ca.sandia.gov Livermore, CA 94550 --------------------------------------------------------------------- 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] ---------------------------------------------------------------------
