Re: JESS: ordered facts slotName=__data and slotType = ?
"Wolfgang Laun" <[email protected]>
| Newsgroups | gmane.comp.java.jess |
|---|---|
| Message-ID | <23045_1285077179_o8LDjm9U026215_AANLkTimzi9-XL=gm3uL+pMCpNdWQ-R1yy_=d5rZ0i0S+@mail.gmail.com> |
Slot types may be given in a deftemplate, but they aren't enforced; they are just for documentation (or for your good use in an application - you could do some type checking). Values are typed, though; so what you find in a slot may need closer inspection. -W On 21 September 2010 09:52, Donald Winston <[email protected]> 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) > > > > -------------------------------------------------------------------- > 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]. > -------------------------------------------------------------------- > >