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 4 made on Saturday October 2, 2010 at 01:55
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
13,006
System.setGlobal/getGlobal is only useful for storing string data. This can be useful for integer/boolean values but you have to remember to cast them from string back to correct type when you use System.getGlobal().

Object storage is a bit more difficult.

However, thanks to Rusty Fobe we have utilities posted in the files section. With said utilities one can convert a javascript object/array into a string format that can be restored using javascript eval. The serialization technique/notation used here is what has become known as JSON (Javascript Object Notation).
Lyndel McGee
Philips Pronto Addict/Beta Tester


Hosting Services by ipHouse