Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 6 made on Sunday September 12, 2010 at 20:10
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
Declare the variable at activity level, then you can reference it anywhere in eval().

To make things work properly, you may need to scope the eval to something other than the 'global' scope. For example:

CF.activity().eval(mycodestring);
or
this.eval(mycodestring); // from the activity level.

vs just the simple

eval();
Lyndel McGee
Philips Pronto Addict/Beta Tester


Hosting Services by ipHouse