comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@gnat.com (Robert Dewar)
Subject: Re: Nonsense (was Re: How to do it in Ada ?)
Date: 16 Jul 2001 20:53:36 -0700
Date: 2001-07-17T03:53:36+00:00	[thread overview]
Message-ID: <5ee5b646.0107161953.2ed4b7a2@posting.google.com> (raw)
In-Reply-To: yAG47.358161$p33.7256533@news1.sttls1.wa.home.com

"Mark Lundquist" <up.yerz@nospam.com> wrote in message news:<yAG47.358161$p33.7256533@news1.sttls1.wa.home.com>...
> What one *could* write (not that you'd want to, but it illustrates 
> the language concept I was trying to highlight), is:
> 
>     X : new X_Array_Type (1 .. N);
> 
>     begin
>             X := (others => 0);
>             .
>             .


I am sure others will point out that this is also incorrect. As I
have suggested in the past, I strongly advise that if people post
Ada code, they compile it and make sure it works, and then cut
and paste actual working code. This will help avoid spreading
misinformation. This is good advice for anyone, no matter how
well you think you know Ada. I certainly do it for any code I
post, it is too easy to make a silly typo, and end up confusing
people if you do not take the trouble to make sure that code you
post is correct.



  parent reply	other threads:[~2001-07-17  3:53 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 [this message]
2001-07-16 22:18     ` How to do it in Ada ? Jeffrey Carter
2001-07-17  4:06       ` 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