A rule name, like the names of other constructs like templates, and also the names of slots, functions, etc, follow the rules for Jess symbols, as defined here:
http://herzberg.ca.sandia.gov/jess/docs/70/basics.html#symbols On Monday 30 April 2007 6:35:30 pm Jim Yates wrote: > I just figured out the Jess can't handle rule names with spaces in > them. For example jim rule 1 is not a valid name. I get: > > Jess reported an error in routine Jesp.parseDefrule. > Message: Expected '=>' at token 'Rule'. > Program text: ( defrule Jim Rule at line 6. > > I don't find anything in the documentation on rule naming. I need to > know the valid characters, so I can restrict my users when they enter a > name. -- --------------------------------------------------------- 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://www.jessrules.com -------------------------------------------------------------------- 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] --------------------------------------------------------------------
