How to convert
<Instance-gen9> (the value of ?self)
to [gen9] returned by (make-instance) ?
CLIPS> (find-all-instances ((?y Conv_unit)) (eq ?y:conversion [gen9]) ) ([gen10] [gen11]) CLIPS> (find-all-instances ((?y Conv_unit)) (eq ?y:conversion <Instance-gen9>) ) () ; <---------- EMPTY CLIPS>
Sorry, I have found the solution. I just have to use (instance-name $self) instead of $self which is an Instance-adress.
Log in to post a comment.
How to convert
to
[gen9] returned by (make-instance) ?
Sorry, I have found the solution.
I just have to use (instance-name $self) instead of $self which is an Instance-adress.