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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d78ba5da4a579fd8 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Filename for packages? Date: 1998/10/05 Message-ID: <6vahdh$gsb$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 397890044 References: <36176A49.2D6C05CA@phoenix.net> X-Http-Proxy: 1.0 x2.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Mon Oct 05 13:26:09 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.05 [en] (WinNT; I) Date: 1998-10-05T00:00:00+00:00 List-Id: In article <36176A49.2D6C05CA@phoenix.net>, Renwick Preston 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