comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Array Of Constant Strings?
Date: Fri, 14 Feb 2003 04:28:27 GMT
Date: 2003-02-14T04:28:27+00:00	[thread overview]
Message-ID: <Lf_2a.95596$tq4.3861@sccrnsc01> (raw)
In-Reply-To: RXY2a.4080$io.157916@iad-read.news.verio.net

> It won't let me just say:
>
>    Name_List : constant array(1..26) of String :=
>        ("Anthony", "Barbara", "Claudia", "Deborah" "Elliott",
>          .... and so on.
>
> because, as it informs me,
>
>     unconstrained element type in array declaration
But it *will* let you say:
  subtype Name_Strings is String(1 .. 7);

  Name_List : constant array(1 .. 26) of Name_Strings :=
       ("Anthony", "Barbara", "Claudia", "Deborah", "Elliott",
etc.



  reply	other threads:[~2003-02-14  4:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-14  2:58 Array Of Constant Strings? Dr Nancy's Sweetie
2003-02-14  4:28 ` tmoran [this message]
2003-02-14  7:28 ` Dale Stanbrough
2003-02-14  7:47   ` tmoran
2003-02-14 10:06     ` Dale Stanbrough
     [not found] ` <19guh-2f4.ln1@beastie.ix.netcom.com>
2003-02-14 19:41   ` Jeffrey Carter
2003-02-14 20:38     ` tmoran
     [not found]     ` <e0q0i-n14.ln1@beastie.ix.netcom.com>
2003-02-15 22:28       ` Jeffrey Carter
2003-02-22 19:31     ` Robert A Duff
2003-04-14 18:43       ` Dr Nancy's Sweetie
2003-04-15 11:36         ` Georg Bauhaus
2003-04-15 13:40           ` Dr Nancy's Sweetie
2003-04-15 15:13             ` Georg Bauhaus
2003-04-16  2:17               ` Matthew Heaney
2003-04-16 16:35                 ` Chad R. Meiners
2003-04-16 21:03                 ` Georg Bauhaus
2003-04-17 17:53                   ` Robert A Duff
2003-04-17 20:34                     ` Georg Bauhaus
replies disabled

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