0
votes

Retract command in CLIPS will remove one fact in CLIPS. What is equivalent API in C code.

clips.retract is not working

1
Show some code. Otherwhise no answer.kwoxer

1 Answers

0
votes

All C APIs for CLIPS are documented in CLIPS advanced programming guide. Check page 105:

4.4.23 EnvRetract
int EnvRetract(environment,factPtr);
void *environment;
void *factPtr;
Purpose:
 Retracts a fact from the CLIPS fact-list (the C equivalent of the
CLIPS retract command).

Hope this answers your question