alguidelines/content/NAVPatterns/end-else-pair/index.md
2021-10-22 00:23:03 +02:00

21 lines
339 B
Markdown

+++
title = "end-else-pair.md"
weight = 540
+++
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
...