From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ed1ad27c78470510 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news4.google.com!news.glorb.com!proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Message-ID: <4458B284.60009@obry.net> Date: Wed, 03 May 2006 15:39:16 +0200 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 Newsgroups: comp.lang.ada To: wojtek@power.com.pl Subject: Re: Main procedure inside a package? References: <1146660038.801976.129790@g10g2000cwb.googlegroups.com> In-Reply-To: <1146660038.801976.129790@g10g2000cwb.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 03 May 2006 15:39:17 CEST NNTP-Posting-Host: 82.124.253.179 X-Trace: 1146663557 news.wanadoo.fr 29217 82.124.253.179:4993 X-Complaints-To: abuse@wanadoo.fr Xref: g2news2.google.com comp.lang.ada:4030 Date: 2006-05-03T15:39:17+02:00 List-Id: wojtek@power.com.pl a �crit : > Is it possible for the main procedure to be inside a package? The > compiler is GNAT. No, the main procedure must be a library level procedure. I think that there is another restriction: this procedure should not have parameters (I have no easy way to check that right now). Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595