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 7 made on Sunday September 12, 2010 at 20:19
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
On September 12, 2010 at 16:38, buzz said...
marco0305,

By the way, eval() executes the code in the current activity's scope, not the activity where the string is defined. The target of the eval() is simply a string.

Buzz,

A simple eval() does behave like this. However, not publicly documented, you can control the scope by calling the eval() function in context of a particular object. For example... CF.page().eval() or CF.activity().eval() or widget().eval() as I posted above.
Lyndel McGee
Philips Pronto Addict/Beta Tester


Hosting Services by ipHouse