Hello!
That's correct;
Instead, you can do any of the following:
Cheers!
That's correct;
ScriptEngine.AddHostObject()
does not work with simple values like strings and numbers.Instead, you can do any of the following:
engine.Script.test = "hello"; engine.Script["test"] = "hello"; engine.Execute("test = 'hello'");