comp.lang.ada
 help / color / mirror / Atom feed
From: "Anh Vo" <anhvofrcaus@gmail.com>
Subject: Re: Splitting packages in per-procedure separate files
Date: 10 Feb 2007 10:36:29 -0800
Date: 2007-02-10T10:36:29-08:00	[thread overview]
Message-ID: <1171132589.612452.120980@v45g2000cwv.googlegroups.com> (raw)
In-Reply-To: <2007021017501616807-sjs@essexacuk>

On Feb 10, 9:50 am, Stephen Sangwine <s...@essex.ac.uk> wrote:
> On 2007-02-10 16:23:12 +0000, Francesco Bochicchio <bock...@virgilio.it> said:
>
> > Hi all,
>
> > due to coding standards which  were not enforced when someone else coded,
> > I now have to split the packages of a 20000 LOC ADA program, putting a
> > single procedure per file (using the separate clause).
>
> You can only put procedures which are declared immediately within the
> declarative part of a compilation unit into a separate file.
> (LRM 95 10.1.3(13)).
>
> 20,000 LOC is quite a large program. If it has all the procedures declared
> immediately within the main program declarative part that would be quite an
> un-Ada way to have structured the code.
>
> Is it really written like that?

I never even heard a procedure half of this size. This triggers my
curiosity to know more details about it.

AV




  reply	other threads:[~2007-02-10 18:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-10 16:23 Splitting packages in per-procedure separate files Francesco Bochicchio
2007-02-10 17:50 ` Stephen Sangwine
2007-02-10 18:36   ` Anh Vo [this message]
2007-02-10 19:36   ` Jeffrey R. Carter
2007-02-11 12:09     ` Francesco Bochicchio
2007-02-11 14:08       ` Markus E Leypold
2007-02-11 19:29       ` Gautier
2007-02-12 10:45       ` Stephen Leake
2007-02-12 18:42         ` Francesco Bochicchio
2007-02-10 18:49 ` Simon Wright
2007-02-11 12:20   ` Francesco Bochicchio
2007-02-12  9:13   ` Jean-Pierre Rosen
2007-02-10 19:33 ` Jeffrey R. Carter
2007-02-11 13:45 ` Jeffrey Creem
replies disabled

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