All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.delphi.rules.community-delphi.MissingSemicolon.html Maven / Gradle / Ivy

The newest version!

Why is this an issue?

Terminating all Delphi statements with a semicolon allows them to be easily read, swapped around, and added to.

While semicolons can be omitted for some statements immediately preceding an end, this is not recommended.

How to fix it

Add the missing semicolon:

procedure Example;
begin
  Foo;
  Bar;
  Baz
end;
procedure Example;
begin
  Foo;
  Bar;
  Baz;
end;

Resources





© 2015 - 2024 Weber Informatics LLC | Privacy Policy