[comp.lang.pascal] Mr. Questions asks: "how do i..."

tpehrson@javelin.sim.es.com (Tim Clinkenpeel) (04/26/91)

is there a command or method of exiting/aborting the program (not just a
procedure/function/whathaveyou) in turbo pascal 5.0 or thereabouts?

gracious
-- 
   /=============================/ 
  / tpehrson@javelin.sim.es.com /      i will work for food 
 /=====aka: tim clinkenpeel====/ 
[DISCLAIMER: send SASE to: disclaimer, 84151-0521]

ricki@john.informatik.rwth-aachen.de (Richard Breuer) (04/26/91)

tpehrson@javelin.sim.es.com (Tim Clinkenpeel) writes:

>is there a command or method of exiting/aborting the program (not just a
>procedure/function/whathaveyou) in turbo pascal 5.0 or thereabouts?

Try 'halt(errlev);' or just 'halt;' which exits a program to DOS with 
optionally setting errorlevel to the value 'errlev'.

Bye, Ricki.