how to evaluate with certain conditions



On 2012-12-01, =?utf-8?Q?foelsche at sbcglobal.net?= <foelsche at sbcglobal.net> wrote:

> values1:[a=1, b=2, c=3]$
>
> ev(expr1, values1)$
>
> ev(expr2, values1)$
>
> ev(expr3, values1)$

In fact, ev recognizes exactly this syntax.
Also, subst(values1, expr) substitutes all items in the list.

best

Robert Dodier