Hello,
I've been trying to use a string as a variable anme
in a bind call and I can't quite figure out how to do
it. I'd like to be able to do this:
(bind (str-cat "?" "myVar") 1)
Jess throws an error saying "?myVar" is a string and
not a variable, which of course is correct. In
practice my
I think Bret Kellihan wrote:
>
> Also, Is there anyway to build up an entire jess
> expression into a variable and then execute it? I've
> tried something on the lines of:
>
> (bind ?command (str-cat "(bind ?x 1)"))
> (?command)
The "eval" function parses and evaluates a String (or a variable
Thanks Ernest,
That's exactly what I was looking for. I vaguely
remember seeing it in your book once, but for some
reason it just didn't register.
Thanks again,
Bret
--- [EMAIL PROTECTED] wrote:
> I think Bret Kellihan wrote:
> >
> > Also, Is there anyway to build up an entire jess
> > ex