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 Tuesday August 10, 2010 at 18:07
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,999
Here's the logic you want if using an array:

var channel = 30;
var channelexclude = [30,52,53,54,55,56,90 ] ;

if (channelexclude.indexOf(channel) >= 0))
{
channel ++;
}



Note that you must put individual channels into the array as others have pointed out and not what you would think is a range (100-200).
Lyndel McGee
Philips Pronto Addict/Beta Tester


Hosting Services by ipHouse