From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_05 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 9 Aug 93 13:18:00 GMT From: agate!spool.mu.edu!sol.ctr.columbia.edu!news.kei.com!news.oc.com!convex!p elakh@ucbvax.Berkeley.EDU (Boris Pelakh) Subject: Re: SunAda Return Codes Message-ID: <1993Aug9.131800.1757@news.eng.convex.com> List-Id: In article <245b35$3r7@frigate.doc.ic.ac.uk> ajy@doc.ic.ac.uk (Andrew Young) wr ites: >How does a SunAda program report a return code to Unix? >In C, I would do exit(n) or return(n) from the main() routine, but >I can't find an equivalent package for SunAda. All you have to do is make your main a function returning integer instead of a procedure, and then RETURN the proper code. -- Boris Pelakh Ada Project Leader pelakh@convex.com Convex Computer Corporation "If winning isn't important, why keep score ?" -- Lt. Worf, Star Trek TNG.