Hello,
Still new to programming, so probably a basic thing...
Whenever I do an If Then Else statement and I don't want it to do anything if the conditions are met, I just leave the
Then part empty, like so:
If a = a then begin
// Do nothing
end
else begin
DoSomething();
end;
Is this correct, or is there a more official, cleaner, conventional way to do this?
Thank you.