home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / WIN_NT / MAPCON.ZIP / TRY.C < prev   
Encoding:
Text File  |  1993-03-03  |  310 b   |  18 lines

  1.          if ( !OpenFiles() )
  2.             return 1;
  3.          try
  4.             {
  5.              if ( Doit() )
  6.                 {
  7.                  if ( Binary )
  8.                     WriteOutputB();
  9.                  else
  10.                     WriteOutputA();
  11.                 }
  12.             }
  13.          except( HandleException( GetExceptionCode(),
  14.                                           (GetExceptionInformation())->ExceptionRecord) )
  15.             {
  16.              Aborted = TRUE;
  17.             }
  18.