Limit switch coding

== is a comparison, = is an assignment.

Steve