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

  1. program NetInit;
  2. uses PXEngine;
  3.  
  4. const NetDir  = '';
  5.       NetType = NotOnNet ;
  6.  
  7. var   PxErr: Integer;
  8.  
  9. begin
  10.   (* Attempt to initialize Engine *)
  11.   PxErr := PXNetInit(NetDir, NetType, DefUserName);
  12.   if PxErr <> PxSuccess then
  13.     Writeln(PxErrMsg(PxErr))
  14.   else PX(PXExit);
  15. end.
  16.