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 5 made on Thursday January 10, 2019 at 22:52
Lowpro
Select Member
Joined:
Posts:
March 2004
2,081
On January 8, 2019 at 11:22, Barry Gordon said...
The javascript eval function is considered "dangerous" by many "elite" Javascript programmers. For those of you not familiar with "eval"; it takes as an argument a string (including very very long strings), compiles it and then executes it. Naturally, the string must be syntactically correct javascript otherwise an error is thrown. The danger is reading in a string from an unknown source and blindly doing an eval on it. I use eval, Lyndell uses eval, Lowpro obviously does . . . Just don't blindly eval an unknown string

Great advice!

And thanks again Barry for exposing me to the joys of ProntoScript back in the day. Our time working together on that SlimPronto activity is in large part responsible for my eventual transition from a purely WYSIWYG approach with PEP to one more focused on the use of ProntoScript. Loving my Pronto's more than ever and a big reason why is due to the things I continue to be able to accomplish through the use of ProntoScript.
LP Related Links:
View my profile to access various
links to key posts and downloads.


Hosting Services by ipHouse