0
Fixed
[W507] Regression from 2015.11upd2 to 2015.11upd6
This construct was correctly marked with W507 in 2015.11upd2 but is no longer marked in 2015.11upd6
if xRight then
TextOut(Round((YAchse.RectTitle.Right + YAchse.RectTitle.Left - TextExtent(sValue).cy) / 2),
Round((YAchse.RectTitle.Bottom + YAchse.RectTitle.Top + TextExtent(sValue).cx) / 2), sValue)
else
TextOut(Round((YAchse.RectTitle.Right + YAchse.RectTitle.Left - TextExtent(sValue).cy) / 2),
Round((YAchse.RectTitle.Bottom + YAchse.RectTitle.Top + TextExtent(sValue).cx) / 2), sValue);
Customer support service by UserEcho
A somewhat simpler example is here. Same symptom:
if FRxMsg.Valid then Sleep(TIME_SLEEP_SHORT) else Sleep(TIME_SLEEP_SHORT);would expect a W507.
Very strange. Thanks for reporting this!