How can I Return a keyValue dictionary instead of a single Value with Expression Evaluator

Dec 6, 2013 at 7:22 AM
Hi,

Suppose I have three input <a,b,c> and want to generate two outputs <d,e>.
With the Expression Evaluator , evaluating the following lines would return the value of e
a="Hello"
b="World"
c=" Fred"

d=a+" "+b
e=a+" "+b
Currently I can do two rounds of evaluation for d and e . Where can I start with if I want to get multiple return values in a key value dictionary in a single round?
Coordinator
Dec 7, 2013 at 6:07 AM
Edited Dec 7, 2013 at 7:38 AM
you can access values of any variable using Globals dictionary
var eval = new ExprEvaluator();
eval.Evaluate(script);
var d = eval.Globals["d"];
var e = eval.Globals["e"];