home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PASCAL / TP_ADV.ZIP / LIST0806.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1989-07-31  |  488 b   |  23 lines

  1. Program MainProg;
  2. { Sample program to demonstrate the order of units within the }
  3. { OVR filethat is produced by Turbo Pascal.                   }
  4.  
  5. {$F+}
  6.  
  7. Uses
  8.   Overlay, One, Two, Three;  { Include the necessary units    }
  9.  
  10. { Overlay each unit used in the application }
  11.  
  12. {$O A}
  13. {$O Three}
  14. {$O Two}
  15. {$O One}
  16.  
  17. Begin
  18.   OvrInit( 'MAIN.OVR' );     { Initialize the Overlay Manager }
  19.   One1;                      { Make sure each unit is linked  }
  20.   Two1;
  21.   Three1;
  22. End.
  23.