fpc/docs/refex/ex44.pp
1998-05-07 12:15:18 +00:00

11 lines
150 B
ObjectPascal

Program Example44;
{ Program to demonstrate the Ofs function. }
Var W : Pointer;
begin
W:=Pointer(Ofs(W)); { W contains its own offset. }
end.