Quote Originally Posted by mackrackit View Post
Did you add the third ENDIF at the end after commenting out the first?
No. I missed that.
Moving the ENDIF appears to work. I guess I'm too used to languages (verilog, etc.) that have a way of explicitly-delineating blocks of statements.

Thank you for the help!

-Dan