It can be very long, so I won't post it all here.  Here is the part relating 
to the eval function.

  this.runFunction = function (function_Pointer, param1_Object, 
param2_Object, param3_Object)
  {
   if (this.isString(function_Pointer))
   {
     return eval(function_Pointer + "(param1_Object, param2_Object, 
param3_Object)");
   }

   return function_Pointer(param1_Object, param2_Object, param3_Object, 
this);
  };

"Boris Zbarsky" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Phil McLachlan wrote:
>> myScriptContext->EvaluateString( script,
>
> What does that string look like?
>
> -Boris 


_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to