Click here to Skip to main content
15,893,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all
I have some clips code that defined rule and in action of rule called function but this function was wrote on C# project.

VB
(deftemplate question
(slot value
    (type FLOAT)
    (default 0.0))
)
(defrule startup1 " "
(question (value ?x))
=>
(if (= ?x 1)
then(FireTestHealthy))
)


the FireTestHealthy function must be define on C# code.
but I need write a clips code like above and save it as .CLP file then add it to my project,in my project the FireTestHealthy function will be define.
please help me I need some tips, when I write above clips code I have error for define the function then clips can not save my code by save() command how can I write above code without ERROR please pay attention that I must define this function in C# project.

my problem is define above clips code I mean how can I write above code?

thanks
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900