Open topic with navigation
Assignment in Boolean expression! Did you intend “==”?
An IF statement contains an assignment (=) of simple variables in a Boolean expression that might have been intended as a relational operator (== or .EQ.). For example,
if (a = b) nop
generates this warning. (Warning level 4)