You could also use the build function.
See CLIPS Basic Programming Guide page 165-166
Cheers,
Nick
Στις 5/6/2013 2:56 μμ, ο/η
anders....@gmail.com έγραψε:
> Hi,
>
> I'm implementing a Publish/Subscribe service where CLIPS rules defines
> the subscription. At anytime a device can create/remove a subscription
> so creating CLIPS rules must be performed dynamically. Is it possible
> to add and remove rules from CLIPS on the fly? For adding rules I
> guess I could write the new rule to a new clp file and Load it into CLIPS.
>
> Thanks,
> Anders Berg
> --
> --
> You received this message because you are subscribed to the Google
> Groups "CLIPSESG" group.
> To post to this group, send email to
CLIP...@googlegroups.com
> For more options, visit this group at
>
http://groups.google.com/group/CLIPSESG?hl=en
>
> --> IF YOU NO LONGER WANT TO RECEIVE EMAIL <--
> Visit this group at
http://groups.google.com/group/CLIPSESG?hl=en
> Click on "Edit my membership" link.
> Select the "No Email" radio button.
> Click the "Save these settings" button.
>
> --> IF YOU WANT TO UNSUBSCRIBE <--
> Visit this group at
http://groups.google.com/group/CLIPSESG?hl=en
> Sign in
> Click on "Edit my membership" link.
> Click the "Unsubscribe" button.
> Note: This appears to be the most reliable way to unsubscribe
>
> Alternately, send email to
CLIPSESG-u...@googlegroups.com. You
> will receive an email which you must respond to as well to
> unsubscribe. Clicking the link mentioned in the unsubscribe reply does
> not appear to work reliably.
> ---
> You received this message because you are subscribed to the Google
> Groups "CLIPSESG" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
clipsesg+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>
--
**************************************************************
* Dr. Nick Bassiliades, Associate Professor *
* Dept. of Informatics, Aristotle University of Thessaloniki *
* 54124 Thessaloniki, Greece *
* *
* Tel:
+302310997913 E-mail:
nbas...@csd.auth.gr *
* Fax:
+302310997913 URL:
http://tinyurl.com/nbassili *
* ========================================================== *
* LPIS (Logic Programming & Intelligent Systems) Group *
* URL:
http://lpis.csd.auth.gr/ *
**************************************************************