Re: [Mono-dev] Need PutVar method on Mono.CSharp.Evaluator

2011-08-15 Thread Marek Safar
Hello, Hi, I am new to Mono, but becoming a big fan quickly (more detail below regarding what I am doing with it). To get right to the point, however, I would appreciate advice on how to *programmatically* set the value of a variable that can be seen inside the Evaluator, e.g., var

Re: [Mono-dev] Need PutVar method on Mono.CSharp.Evaluator

2011-08-15 Thread Charles Rich
Hi Mark, Thanks for the reply, but that just pushes the problem one level back, i.e., how is 'whatever' set to the result of the evaluation? The point is that I need to be able to pass the result of the evaluation around *outside* the evaluator and then feed it back in. -CR On Mon, Aug 15,

Re: [Mono-dev] Need PutVar method on Mono.CSharp.Evaluator

2011-08-15 Thread Tom Spink
On 15 August 2011 16:36, Charles Rich r...@wpi.edu wrote: Hi Mark, Thanks for the reply, but that just pushes the problem one level back, i.e., how is 'whatever' set to the result of the evaluation? The point is that I need to be able to pass the result of the evaluation around *outside*

Re: [Mono-dev] Need PutVar method on Mono.CSharp.Evaluator

2011-08-15 Thread Tom Spink
Hi slide, On 15 August 2011 16:49, Slide slide.o@gmail.com wrote: I think Charles is wondering how he gets his stuff inside the evaluator in the first place. For instance, if he has OUTSIDE the evaluator, some instance of an object, how does he get that object into the evaluator so the

Re: [Mono-dev] Need PutVar method on Mono.CSharp.Evaluator

2011-08-15 Thread Charles Rich
Thanks again, but Slide has the idea. I tried to make simplest example to illustrate the point. But I cannot use Tom's suggestion because I don't know which variable (e.g., x) will be used at the time the original expression is evaluated. Again, most evaluators let you update as well as read

[Mono-dev] Need PutVar method on Mono.CSharp.Evaluator

2011-08-10 Thread Charles Rich
Hi, I am new to Mono, but becoming a big fan quickly (more detail below regarding what I am doing with it). To get right to the point, however, I would appreciate advice on how to *programmatically* set the value of a variable that can be seen inside the Evaluator, e.g., var temp =