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 8 made on Sunday October 3, 2010 at 13:07
BluPhenix
Long Time Member
Joined:
Posts:
December 2008
371
Wow using an or to concatenate strings. Never seen this. I'm amazed it works, have o try it.

buzz but if I'm not mistaken, in your case:

"00" || stringValueOf(2) = "002"
"00" || stringValueOf(12) = "0012"

While with Lyndel's code the result of the first is "002" and the second is "012".

Also is the method stringValueOf necessary? I believe that in javascript : ""+12 = "12".

chudson, wait, you need to send those values as integers (so in hex 0x00 - 0xff) or in ascii? Plese make it more celar.


Hosting Services by ipHouse