I think Nicolas Fortin wrote: > in the message reported, it is written : "Jess reported an error in routine > batch while executing (batch *A STRANGE CHARACTER HERE* > nicolas/workspace/simulation/src/knowledge/rules_base.clp)". This *STRANGE > CHARACTER HERE* is just like a little rectangle with circles inside.
Jess 7 introduced regular expressions, which look like /something/. That means that /home/nicolas/workspace ... doesn't look like a symbol anymore, but like a regular expression followed by a symbol, so this argument to batch has to be double-quoted. Check the release notes at http://herzberg.ca.sandia.gov/jess/docs/70/release_notes.html#porting, and the batch documentation at http://herzberg.ca.sandia.gov/jess/docs/70/functions.html#batch . They both state that the argument to batch has to be a string, not a symbol, to avoid this issue. I guess I should modify batch to just throw an informative exception if the argument isn't the right type. --------------------------------------------------------- Ernest Friedman-Hill Advanced Software Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 PO Box 969, MS 9012 [EMAIL PROTECTED] Livermore, CA 94550 http://herzberg.ca.sandia.gov -------------------------------------------------------------------- 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] --------------------------------------------------------------------