comp.lang.ada
 help / color / mirror / Atom feed
From: emery@spectre.mitre.org (David Emery)
Subject: Re: Main (function) program with exit(status)
Date: 16 Sep 94 21:39:55
Date: 1994-09-16T21:39:55+00:00	[thread overview]
Message-ID: <EMERY.94Sep16213955@spectre.mitre.org> (raw)
In-Reply-To: cupak@rapnet.sanders.lockheed.com's message of 16 Sep 1994 15:05:30 GMT

[function returing integer as main, return value used as OS process status.]
Completely non-portable!

Incidentally, one draft of POSIX/Ada supported this, and was 'voted
down' during balloting.  A conforming implementation may support an
Ada main program being a function, but an application which uses this
is no long strictly conforming to POSIX/Ada.

				dave
--
--The preceeding opinions do not necessarily reflect the opinions of
--The MITRE Corporation or its sponsors. 
-- "A good plan violently executed -NOW- is better than a perfect plan
--  next week"                                      George Patton
-- "Any damn fool can write a plan.  It's the execution that gets you
--  all screwed up"                              James Hollingsworth
-------------------------------------------------------------------------



  reply	other threads:[~1994-09-16 21:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-09-16 15:05 Main (function) program with exit(status) John J Cupak Jr CCP
1994-09-16 21:39 ` David Emery [this message]
1994-09-16 22:31 ` Bob Kitzberger
1994-09-17  3:18 ` Robert Dewar
1994-09-17 16:31   ` Mats Weber
1994-09-23 14:35     ` Main (function) program with exit(stat Bob Gilbert
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox