I'd like to replicate the effect of eval in a C++ function. In other words, I'd like to be able to eval and affect the current HandleScope. So if I do "var x = 10", I'd like the HandleScope to get a x added, not for the Context's global to receive the x. Is this possible?
I suppose a parallel question is, can I "push" a scope for Script->Run? Basically, I'd like successive Runs to modify the same scope, not the global, the same way successive evals.
Thanks,
Francisco