Hi Tankslappa,
a trick is to reverse the expression order:
If ( 3 == value)
That way you get a compiler error if you want to compare with a constant value but drop one of the equal signs
And yes, I have always been very fond of Delphi ![]()
Hi Tankslappa,
a trick is to reverse the expression order:
If ( 3 == value)
That way you get a compiler error if you want to compare with a constant value but drop one of the equal signs
And yes, I have always been very fond of Delphi ![]()