braddo_99:
Several folks have recommended the if "(1==OnOff)" approach and I will try to put this into practice... but then I'll still have to remember when to write it forward versus backward. In fact I'm forgetting even while writing this 
Probably easy to forget because if it were me writing the language (god forbid), I might have set the convention the opposite way. To me the double "=" seems to imply emphasis, i.e. I really, r==ally want you to set this variable 
There are situations where the single = is (was) actually desired.
Years ago, 20+ years back, if you wrote your code like this:
var = var2;
if(var)
you did not get as good of code if wrote it like this:
if(var = var2)
With todays optimizers, it no longer matters so it may be better
to avoid the use of the assignments inside ifs.
When using variables, reversing the order will not detect the accidental
issue.
i.e if you meant
if(var == var2)
and accidentally typed: (with the reversed order but mistyped ==)
if(var2 = var)
You will get no error and corrupt var2.
The real answer is to have the compiler detect assignments inside if statements for you.
The compiler can generate a warning for using assignments inside if statements,
unfortunately, the arduino IDE disables all warnings and there is no way to turn
them back on without patching the JAVA code in the IDE.
If you find that this it is a really big hurdle that you continually
struggle with, you could always define your own "=="....
While it would look a bit different and not be standard, you could do something like:
#define EQUALS ==
or
#define EQUALTO ==
Then you would use those instead of == for comparison.
i.e.
if(var EQUALS 6)
or
if(var EQUALTO var2)
Then there is no issues with ordering.
--- bill