begin as an afterword
Categories:
Created by Microsoft, Described by waldo
Description
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;
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified October 23, 2025: Merge pull request #265 from igor-ctrl/patch-1 (afc35a8)
by Henrik Helgesen