alguidelines/content/docs/BestPractices/lonely-repeat/index.md
2022-03-19 21:47:53 +01:00

409 B

title tags categories
Lonely Repeat
AL
Readability
Best Practice

Created by Microsoft, Described by waldo

Description

The repeat statement should always be alone on a line.

Bad code

    if ReservEntry.FindSet() then repeat

Good code

    if ReservEntry.FindSet() then 
        repeat