One Statement per Line

Created by Microsoft, Described by waldo

Description

A line of code should not have more than one statement.

Bad code

    if OppEntry.Find('-') then exit;  

Good code

    if OppEntry.Find('-') then   
        exit;  

Bad code

    TotalCost += Cost; TotalAmt += Amt;  

Good code

    TotalCost += Cost; 
    TotalAmt += Amt;
Last modified February 24, 2022: Removed Discussion Links. Using new Theme solution. (fb17dc96) by Henrik Helgesen