As the others pointed out you are assigning true to your variable instead of comparing it.
I also agree that
if (bool232)
is better than
if (bool232 == true)
though if you are going to use the == a good practice (sometimes called yoda code) is to always put the constant first
if (true == bool232)
that way you will always get a compile error if you forget an '=' sign.