0
votes

I embed the CLIPS in C++ program.

Now I am doing this:

Eval("(assert-string "(inputdata (value 1))")", &result)

I find that the two semicolons will cause problem. "(assert-string " seem to be recognized as a entity. So how can I fix this problem.

Thanks for any idea.

1

1 Answers

1
votes

Escape your quotes:

Eval("(assert-string \"(inputdata (value 1))\")", &result)