On January 6, 2011 at 09:36, gfridland said...
I have been re-programming my msc-400 and was looking to simplify some code by consolidating some if/then statement into one macro.
It appears that when more than on If/Then statement is made within one smart macro, my macro doesn't evaluate either If/Then statement. Is this typical? Can only one If/Then statement be used within one smat macro?
I use multiple if/then's in single MSC400 macro's all the time without issue
I have been able to work around this by nesting multiple macros, each containing a single If/Then statement, but was just trying to understand why I was having issues with my original approach.
Also...can if/then stements be made within other if/then statements? In other words, can I make a SINGLE smart macro that is something like:
If variable 1=true AND variable 2=true AND variable 3=true AND variable 4=true...then power on reciever?
Yes again. You can have it check for multiple conditions.