Why is this an issue?

Multiple variables should not be declared on a single line. This affects readability, is less convenient to change for version control purposes, and can be error-prone to modify.

How to fix it

Separate the grouped variables into separate lines.

procedure MyProc;
var
  MyName: string;
  MyId, MyAge: Integer;
begin
  // ...
end;
procedure MyProc;
var
  MyName: string;
  MyId: Integer;
  MyAge: Integer;
begin
  // ...
end;

Resources