fpc/docs/refex/ex44.pp
2005-02-14 17:13:06 +00:00

11 lines
149 B
ObjectPascal

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