0

Empty then block

Anonymous 10 years ago 0

Samples:

if Condition() then ;// See last symbol before comment

begin

SomeCode; //this line executed in all cases

end;

or

if Condition() then

begin

//SomeCode;

end else begin

//SomeOtherCode;

end;

or

if not Condition() then

else

begin

SomeCode;

end;