Apparently Mathematica's syntax coloring engine believes that the second assignment in the following code excerpt (concocted for illustration purposes only) is a "Possible Unwanted Assignment" since unchecking this box in Preferences causes the red highlighting to disappear:
Any ideas why Mathematica should believe that this assignment is possibly unwanted? The variable b
is used after all in the test conditional for the While
loop whereas f
and g
are not.