Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!husc6!m2c!wpi!wpi.wpi.edu!tfrancis From: tfrancis@wpi.wpi.edu (Krishan M Nainani) Newsgroups: comp.lang.ada Subject: Exiting a simple program in Ada Message-ID: <3013@wpi.wpi.edu> Date: 27 Jun 89 16:08:19 GMT Sender: tfrancis@wpi.wpi.edu Reply-To: tfrancis@wpi.wpi.edu (Krishan M Nainani) Distribution: usa Organization: Worcester Polytechnic Institute, Worcester, Mass. Lines: 12 Does anyone know how to exit from a simple (non-multi-tasking) Ada program ? C has the wonderful: exit(n) statement where n is the exit status. In my package, I am writing a procedure which aborts the complete program if this procedure is called (a few variables are set before). Can I use the "abort" stmt in some fashion (although it is for tasks)?? Krishan Nainani. tfrancis@wpi.wpi.edu Thanx ahead !