Your Universal Remote Control Center
RemoteCentral.com
Complete Control by URC Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 18 made on Wednesday October 4, 2006 at 14:55
James Paul Hartbarger
Long Time Member
Joined:
Posts:
December 2005
485
Yes, you can have "nested" if statements. For example:


Create a macro/button/function called "LEVEL1" based on variable "V1"

"LEVEL1"
V1 = 1
Goto "Page 1"
V1 = 0
Perform "LEVEL2"


"LEVEL2"
V2 = 1
Goto "Page 2"
V2 = 0
Perform "LEVEL3"


"LEVEL3"
V3 = 1
Goto "Page 3"
V3 = 0
Perform "LEVEL4"


"LEVEL4"
V4 = 1
Goto "Page 4"
V4=0
Beep and Do something to show error occured and no variable was set

Create a button called "TV1" that calls button "LEVEL1" when it is pressed. Some button/macro has to set V1 - V4 in a "1" state for anything to happen.


Hosting Services by ipHouse