Page 1 of 1

Function 'Evaluate' must return a 'Data type not found'. (33

PostPosted: Sun Jan 31, 2010 8:57 am
by jblair
I'm trying to run the exact code that's found in the documentation under the Evaluate command.

I'm getting back an error that says:

Function 'Evaluate' must return a 'Data type not found'. (3334)

Any ideas what could be causing that?

Thanks!


-- James

Re: Function 'Evaluate' must return a 'Data type not found'. (33

PostPosted: Thu Feb 04, 2010 9:11 pm
by john
Hi James-

That does appear to be a bug in the current release... we apologize! In the mean time, you can ignore the exception by using the following:

Code: Select all
string s = "int i = 10";
try{
   Evaluate(s);
}catch (exception e){
        # Ignore the exception
}

who();


This will catch the error and ignore it. The evaluation still takes place even though an error is generated.

We will make a fix for this and post on this forum under this thread when it is available. Sorry for any inconvenience this has caused!

-John