Thanks for the replies. Well, I was testing a code for decoding RF remotes based on the MM53200/UM3750 or HT12 transmission protocol.

The code with the AND in the IF-THEN statements works fine.

The other with the nested IF-THENs does not.

Mystery...

Me too think that both codes are equivalent.

Ioannis