E2088 Variable name expected (Delphi)

From RAD Studio
Jump to: navigation, search

Go Up to Error and Warning Messages (Delphi)

This error message is issued if you try to declare an absolute variable, but the absolute directive is not followed by an integer constant or a variable name.


program Produce;

var
  I : Integer;
  J : Integer absolute Addr(I);   (*<-- Error message here*)

begin
end.
	program Solve;

const
  Addr = 0;

var
  I : Integer;
  J : Integer absolute I;

begin
end.