Re: JESS: How do I assert ordered facts from a map

2010-08-15 Thread Donald Winston
Ok, that works. Thanks. It didn't make sense to me that I couldn't do this. I remember reading in the book Jess in Action (page 55) where it said eval and build were synonyms and (build ...) was used for constructs and eval for functions out of convention/tradition/historical reasons and not

Re: JESS: How do I assert ordered facts from a map

2010-08-15 Thread Wolfgang Laun
On 15 August 2010 14:09, Donald Winston satchwins...@yahoo.com wrote: Ok, that works. Thanks. It didn't make sense to me that I couldn't do this. I remember reading in the book Jess in Action (page 55) where it said eval and build were synonyms and (build ...) was used for constructs and eval

JESS: Good grief

2010-08-15 Thread Donald Winston
Hmmm. Stuff does not work as expected. (bind ?n (list a b c) toArray) ;this sort of works Java-Object:[Ljava.lang.Object; ??? (printout t ?n crlf) (bind ?s (new String[]) ;does not work ((fetch aMap) get ?key) ;;if it's a String[] then what?

JESS: Good grief

2010-08-15 Thread Donald Winston
I guess you got to use toArray and as-list all the time for any kind of array. To unsubscribe, send the words 'unsubscribe jess-users y...@address.com' in the BODY of a message to majord...@sandia.gov, NOT to the list (use