Is there a difference between the following two statements?
Is there a difference between the following two statements?
EDatabaseError = class(Exception);
EDatabaseError = class(Exception)
end;
I'm 96.7% sure both are equivalent, but I may be mistaken.
EDatabaseError = class(Exception);
EDatabaseError = class(Exception)
end;
I'm 96.7% sure both are equivalent, but I may be mistaken.
As far as i know it's style only. There was a time where you needed to put an end; because of syntax but that changed at some point. No point in having end; there if you are not declaring new methods or overriding anything. But yeah i can be wrong. That happened before 😂
ReplyDeleteI always use the first because it looks cleaner to me.
ReplyDeleteNo difference.
ReplyDelete