alguidelines/content/BCBestPractices/Readability/keyword-pairs-indentation/index.md
waldo1001 39340ca56d Move
2021-12-11 13:28:59 +01:00

814 B

+++ title = "Keyword Pairs - Indentation" weight = 730 +++

<Created by Microsoft, Described by waldo>

Description

The if..then pair, while..do pair, and for..do pair must appear on the same line or the same level of indentation.

Bad code

    if (x = y) and
    (a = b) then

Good code

    if (x = y) and
    (a = b) 
    then

Discussions

You can find discussions on all "Best Practices" here.

If you don't find the discussion of this guideline, please feel fee to create a new one with the same title as this article.