From: Jeffrey Carter <jeffrey.carter@boeing.com>
Subject: Re: How to do it in Ada ?
Date: Mon, 16 Jul 2001 22:18:04 GMT
Date: 2001-07-16T22:18:04+00:00 [thread overview]
Message-ID: <3B53681C.77C3488D@boeing.com> (raw)
In-Reply-To: P0F47.357734$p33.7248200@news1.sttls1.wa.home.com
Mark Lundquist wrote:
>
> > X := new X_Array_Type'((1 .. N => 0));
>
> What about those double parenthesis... do those look funny? Well, they
> really are required.
This is incorrect. The syntax for a qualified expression is
qualified_expression ::=
subtype_mark'(expression) | subtype_mark'aggregate
so the double parens are not required.
> X := new X_Array_Type (1 .. N) := (others => 0);
This is also incorrect.
--
Jeffrey Carter
next prev parent reply other threads:[~2001-07-16 22:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-16 3:33 How to do it in Ada ? Tomasz Wegrzanowski
2001-07-16 5:31 ` Jeffrey Carter
2001-07-16 6:41 ` Al Christians
2001-07-16 6:51 ` tmoran
2001-07-16 16:56 ` Mark Lundquist
2001-07-16 18:42 ` Nonsense (was Re: How to do it in Ada ?) Mark Lundquist
2001-07-16 22:20 ` Jeffrey Carter
2001-07-17 0:13 ` Ken Garlington
2001-07-17 3:53 ` Robert Dewar
2001-07-16 22:18 ` Jeffrey Carter [this message]
2001-07-17 4:06 ` How to do it in Ada ? tmoran
2001-07-20 5:39 ` David Thompson
2001-07-16 17:37 ` Ken Garlington
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox