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

General discussion about the Phantom Automation Language and related tools.

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

Postby jblair on Sun Jan 31, 2010 8:57 am

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
jblair
 
Posts: 1
Joined: Sun Jan 31, 2010 8:55 am

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

Postby john on Thu Feb 04, 2010 9:11 pm

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
john
 
Posts: 27
Joined: Wed Apr 22, 2009 12:32 pm


Return to Phantom

Who is online

Users browsing this forum: No registered users and 1 guest

cron