home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a006 / 1.ddi / PASEXAM.ZIP / INIT.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1991-03-11  |  212 b   |  13 lines

  1. program Init;
  2. uses PXEngine;
  3.  
  4. var PxErr: Integer;
  5.  
  6. begin
  7.   (* Attempt to initialize the Engine *)
  8.   PxErr := PXInit;
  9.   if PxErr <> PxSuccess then
  10.     Writeln(PxErrMsg(PxErr))
  11.   else PX(PXExit);
  12. end.
  13.