Boolean Default
Comparing Boolean variables with Equals or Does Not Equal conditions is obvious when the variable is set at some point earlier in the macro but what if the Boolean hasn't been set at all? The short answer is that a null value tests as the same as False. I check my results by running a simple test macro.
Initial value |
Equals |
Does Not Equal |
Not set |
Else |
True |
True |
True |
Else |
False |
Else |
True |