I think =?Windows-1252?Q?Diego_Alonso_Gonz=E1lez?= wrote: > I can use "definstance" for just asserting one JavaBean object as > a fact, but I need more and -obviously - I'd love to learn how to add several > objects at once. > is it possible?
No, you need to call definstance once for each object you're adding. You could put all the objects in a list and loop over the list to save typing. > > PS: is it also posible to defclass and definstance for a module? (allowing to > JavaBeans exist > only for those rules belongingot referencing to the same module) Yes. If you use a name like FOO::bar in your defclass, then the "bar" defclass template will be defined in module FOO. --------------------------------------------------------- Ernest Friedman-Hill Science and Engineering PSEs 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] --------------------------------------------------------------------