Re: JESS: ordered facts slotName=__data and slotType = ?

"Ernest Friedman-Hill" <[email protected]>
Newsgroups gmane.comp.java.jess
Message-ID <[email protected]>
Don't go by slot data types, which are, indeed, not used by Jess and  
by default contain the meaningless value ANY. Use the slot type, which  
is always relevant.

Note that a regular slot (i.e., not a multislot) could still contain a  
Value of type RU.LIST.

On Sep 21, 2010, at 3:52 AM, Donald Winston wrote:

> Is it true that unordered facts always have a slot name of __data  
> and a slot type of RU.ANY? How come the slot type is  not RU.LIST?
>
> So If I'm iterating through the fact list and I encounter a slot  
> name of __data it will always be a list and I don't need to fetch  
> the slot type? (I think I remember somewhere that the types are not  
> really used at the moment)
>

---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences          Phone: (925) 294-2154
Sandia National Labs
PO Box 969, MS 9012                            [email protected]
Livermore, CA 94550                             http://www.jessrules.com





--------------------------------------------------------------------
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].
--------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.