comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: ada and gnat (mingw)
Date: Tue, 4 Dec 2012 15:21:13 +0100
Date: 2012-12-04T15:21:13+01:00	[thread overview]
Message-ID: <y9tqxyhykpvj.p85dk84vi7tv$.dlg@40tude.net> (raw)
In-Reply-To: 05172689-1761-45d4-9699-c829f6e63c93@r14g2000vbd.googlegroups.com

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



  parent reply	other threads:[~2012-12-04 14:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-04 14:06 ada and gnat (mingw) Hans Vlems
2012-12-04 14:21 ` Simon Clubley
2012-12-04 15:17   ` Hans Vlems
2012-12-04 16:49     ` Georg Bauhaus
2012-12-04 17:37       ` Simon Clubley
2012-12-04 20:29     ` Anh Vo
2012-12-04 14:21 ` Dmitry A. Kazakov [this message]
2012-12-04 14:26 ` Vinzent Höfler
replies disabled

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