# Begin as an 'After Word'

##### Tags:

- C/AL
- Readability

##### Categories:

- Best Practice

When BEGIN follows THEN, ELSE, DO, it should be on the same line, preceded by one space character.

Bad code

    IF ICPartnerRefType = ICPartnerRefType::"Common Item No." THEN
        BEGIN
        ...
    END;

Good code

    IF ICPartnerRefType = ICPartnerRefType::"Common Item No." THEN BEGIN
        ...
    END;

Last modified February 24, 2022: Added tags & categories + cleanup (5ee04366) by waldo1001