end else pair
Categories:
Created by Microsoft, Described by waldo
Description
The end else pair should always appear on the same line.
Bad code
if OppEntry.Find('-') then
if SalesCycleStage.Find('-') then begin
...
end
else
begin
...
end;
Good code
if OppEntry.Find('-') then
if SalesCycleStage.Find('-') then begin
...
end else begin
...
end;
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified December 3, 2025: Merge pull request #273 from microsoft/issues/150 (ed0868d)
by Henrik Helgesen