The current syntax of Call() is: Call(funcname, args),
where funcname is a string (the CLIPS function or
operator) and args is also a strings containing the
arguments separated by whitespace using the CLIPS
syntax. In this way, actually, the Call() function is
almost useless as it corresponds to Eval("(%s %s)" %
Without disallowing current syntax, it can be useful to
allow the second argument of Call() to be either the
string, with current meaning, or a sequence containing
the argument values - possibly cast to CLIPS objects
(using wrapper classes). This could make the code more
readable when it is necessary to pass Strings or
Multifields to CLIPS functions.
Log in to post a comment.