comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.net>
To: wojtek@power.com.pl
Subject: Re: Main procedure inside a package?
Date: Wed, 03 May 2006 15:39:16 +0200
Date: 2006-05-03T15:39:17+02:00	[thread overview]
Message-ID: <4458B284.60009@obry.net> (raw)
In-Reply-To: <1146660038.801976.129790@g10g2000cwb.googlegroups.com>

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



  reply	other threads:[~2006-05-03 13:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-03 12:40 Main procedure inside a package? wojtek
2006-05-03 13:39 ` Pascal Obry [this message]
2006-05-03 16:12   ` Jean-Pierre Rosen
2006-05-03 18:04     ` Frank J. Lhota
2006-05-09  0:32     ` Robert A Duff
2006-05-03 16:04 ` Martin Dowie
2006-05-03 16:47 ` Martin Krischik
2006-05-04 20:28   ` Wojtek
2006-05-03 19:41 ` Rolf
2006-05-11  8:34 ` Sathish Veluswamy
replies disabled

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