Back

LL026

Absolute variable

Object Pascal — Delphi & Free Pascal
Warning
Reliability

The absolute keyword aliases memory locations and is error-prone in modern Delphi

the absolute keyword aliases memory locations and is error-prone in modern Delphi.

Why this severity

the absolute keyword aliases memory locations and is error-prone in modern Delphi.


Known false positives

intentional memory overlays in system-level code.

Remediation example

var
  A: Integer;
  B: Integer; // use explicit conversion instead of absolute
begin
  B := Integer(A);
end;

Reconnecting… Connection lost. Reload