comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: Filename for packages?
Date: 1998/10/05
Date: 1998-10-05T00:00:00+00:00	[thread overview]
Message-ID: <6vahdh$gsb$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 36176A49.2D6C05CA@phoenix.net

In article <36176A49.2D6C05CA@phoenix.net>,
  Renwick Preston <rpreston@phoenix.net> wrote:
> I just started looking into Ada and I'm unsure how to name my files. Should
the package
> specification filename end with a .ads and the body a .adb? I can't find that
information
> in the book Ada 95... by Feldman.

That's because the language doesn't specify that. In theory you can name your
source code files anything you want. In practice every Ada compilation system
has a preferred naming system. Checking your compiler documentation would be a
good idea.

Your suggested ".ads" and ".adb" are quite likly to be a good choice. Both
gnat and the popular Intermetrics front end used by several other compilers
prefer source files that way.

--
T.E.D.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  parent reply	other threads:[~1998-10-05  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-04  0:00 Filename for packages? Renwick Preston
1998-10-04  0:00 ` Tucker Taft
1998-10-05  0:00   ` dewarr
1998-10-05  0:00     ` Peter Hermann
1998-10-05  0:00       ` dewarr
1998-10-05  0:00         ` Gautier.DeMontmollin
1998-10-05  0:00           ` dewar
1998-10-05  0:00             ` Jerry van Dijk
1998-10-05  0:00             ` Michael F Brenner
1998-10-05  0:00         ` Markus Kuhn
1998-10-05  0:00       ` dennison
1998-10-04  0:00 ` Chris Morgan
1998-10-05  0:00 ` dennison [this message]
1998-10-05  0:00 ` dewarr
replies disabled

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