From: bobduff@world.std.com (Robert A Duff)
Subject: Re: [Q] Problem with Array Concatenation?
Date: 1997/07/13
Date: 1997-07-13T00:00:00+00:00 [thread overview]
Message-ID: <ED8nwr.J7v@world.std.com> (raw)
In-Reply-To: ED611s.5yM.0.-s@inmet.camb.inmet.com
In article <ED611s.5yM.0.-s@inmet.camb.inmet.com>,
Tucker Taft <stt@houdini.camb.inmet.com> wrote:
>Matthew Heaney (mheaney@ni.net) wrote:
>: ...
>: There's another way to make the fix, by manually sliding the initial substring:
>
>: declare
>: type AT is array (Positive range 1 .. 100) of Integer;
>
>: SA : AT;
>: DA : AT;
>: subtype Slided is AT (1 .. 50);
>
>Now *this* is not legal Ada (83 or 95). You can't re-constrain
>a constrained array (sub)type.
Heh, heh. You can't call a type "AT", because that's a reserved word.
;-) (And, as Tucker points out, it ain't legal English, either --
"slided" ain't a word.)
- Bob
next prev parent reply other threads:[~1997-07-13 0:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-07-08 0:00 [Q] Problem with Array Concatenation? John McCabe
1997-07-08 0:00 ` Michael Quinn
1997-07-09 0:00 ` Tucker Taft
1997-07-10 0:00 ` Matthew Heaney
1997-07-11 0:00 ` Tucker Taft
1997-07-11 0:00 ` Matthew Heaney
1997-07-13 0:00 ` Robert A Duff [this message]
1997-07-13 0:00 ` John McCabe
1997-07-13 0:00 ` Keith Thompson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox