814 B
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.