IF lVar = .T. > * Do something >ENDIFThis one annoys me too, but it's all a matter of personal style - I ask myself if the code is understandable to anybody else reading it, if the answer is yes & the code works & the style has no effect on the efficiency of the code then it is just my prejudice against the style, so why complain & above all, I never (well, almost) touch working code just for the sake of style - I might introduce errors.
if ((lVar != FALSE) && (lVar != TRUE) )to evaluate to true, whereas
if (lVar && (!lVar) )will always be false.