Keyword Pairs - Indentation

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. If possible, you can align the lines it is even much more readable.

Bad code

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

Good code

    if (x = y) and
       (a = b) 
    then
Last modified February 24, 2022: Removed Discussion Links. Using new Theme solution. (fb17dc96) by Henrik Helgesen