Consider the following jess code:
(deftemplate c_test1 (slot idtag) ) (assert (c_test1 (idtag id1))) Now, I'm trying to access the idtag slot via the following query: (defquery get-id (WFACT::c_test1 (idtag ?id))) The problem that I'm seing is that run-query* returns a string, and not a symbol, which causes matching problems. (bind ?res (run-query* get-id)) (?res next) (bind ?d (?res getSymbol id)) You'd think that ?d is a symbol, but it turns out being a String. I'm using Jess70p1. Michael -- Michael Atighetchi [EMAIL PROTECTED] BBN Technologies -------------------------------------------------------------------- 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] --------------------------------------------------------------------
