END ELSE Pair

The END ELSE pair should always appear on the same line.

Bad code

IF OppEntry.FIND('-') THEN
    IF SalesCycleStage.FIND('-') THEN BEGIN
        ...
    END
ELSE
    ...

Good code

IF OppEntry.FIND('-') THEN
    IF SalesCycleStage.FIND('-') THEN BEGIN
        ...
END ELSE
    ...

Last modified December 4, 2026: Merge pull request #299 from microsoft/nav-history-page-fixes (3ac948d) by Jesper Schulz-Wedde