home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Dev / fpc / source / docs / refex / ex44.pp < prev    next >
Encoding:
Text File  |  2000-01-01  |  150 b   |  11 lines

  1. Program Example44;
  2.  
  3. { Program to demonstrate the Ofs function. }
  4.  
  5. Var W : Pointer;
  6.  
  7.  
  8. begin
  9.   W:=Pointer(Ofs(W)); { W contains its own offset. } 
  10. end.
  11.