Hi Pent,
Thanks for the insight.
Yes, you were right, at some points during my tests the variables were
in a cleared state, and sometimes not. I guess what was confusing me
was that I didn't expect the variable to be undefined if it was
cleared. I was expecting 0, or NULL.
Is it by design that the variable is undefined if cleared?
I ran a couple of more tests, and if I force one of the two variables
as set to "1", it seems to work.
Home = %Home
Sleeping = 1
But, if both the variables are set, I get the exact same result. I
would have expected:
Home = 1
Sleeping = 1
Is this a formatting issue? Or if I'm using the set value of 1, do I
need to have the "do math" option enabled (although I wouldn't think
it'd matter if I'm treating the variable as a boolean).
Thanks for helping me out Pent!