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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c1b98fe2a8046ba0 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.180.81.40 with SMTP id w8mr787101wix.0.1354630937706; Tue, 04 Dec 2012 06:22:17 -0800 (PST) Path: i11ni15447wiw.0!nntp.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: ada and gnat (mingw) Date: Tue, 4 Dec 2012 15:21:13 +0100 Organization: cbb software GmbH Message-ID: References: <05172689-1761-45d4-9699-c829f6e63c93@r14g2000vbd.googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: kWJV5lTRAyCzy8lsfOrlcw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-12-04T15:21:13+01:00 List-Id: On Tue, 4 Dec 2012 06:06:35 -0800 (PST), Hans Vlems wrote: > This is not a real ADA language question and thus possibly off topic > but don't be too hard on a newbie :) > I want to use my own packages. Example: > > package my_constants is > > cc_hyphen : constant character := '-'; > cc_comma : constant character := ','; > cc_digit9 : constant character := '9'; > > end my_constants; > > This file is stored as my_constants.adb (on a WIndows platform). Should be my_constants.ads. *.adb is for bodies, *.ads for specifications. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de