Hi,
Is there an easy way to bind this type of structure to a variable:
(choice 1)
where the integer comes from a variable.
I have tried the following with no success:
(bind ?choice (choice ?i ))
I can see that there is a convoluted way of doing this by asserting a fact
(assert (?choice ?i))
then mapping that to a variable on the LHS of a rule but this seems a rather
messy solution. Is there a better way that springs to mind?
thanks,
Matthew
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------