I'm using CLIPS within a C program. I would like to define some defglobals directly from C via a buffer.
Something like this:
theEnv = GetCurrentEnvironment();
sprintf(buffer, "(defglobal ?*var1* = 123 ?*var2* = 456)");
Is this possible?
Use the Build function, Section 4.1.7 of the Advanced Programming Guide. In your function, you'd use either
Log in to post a comment.