Re: JESS: Retrieving slot and multislot values
"Donald Winston" <[email protected]>
| Newsgroups | gmane.comp.java.jess |
|---|---|
| Message-ID | <32398_1284565042_o8FFaZp3001210_E464FD20-40B8-4301-AE1A-AD5A3ED35B59@yahoo.com> |
engine.getGlobalContext() ?? I thought this was just for global variables. On Sep 15, 2010, at 11:02 AM, Donald Winston wrote: > /* I need to retrieve slot and multislot values. */ > > Value v1 = fact.getSlotValue(slotName).toString()); > /* Assuming above is ok */ > Value v2 = fact.getSlotValue(multiSlotName); > ValueVector vv = v2.listValue(context); > > where or how do I construct an appropriate "context"? > > Do I need to do this for v1 also or is toString() good enough?