comp.lang.ada
 help / color / mirror / Atom feed
From: "Nick Roberts" <nickroberts@blueyonder.co.uk>
Subject: Re: coding 'Output
Date: Mon, 14 Jul 2003 23:45:17 +0100
Date: 2003-07-14T23:45:17+01:00	[thread overview]
Message-ID: <bevbmi$9crhi$1@ID-25716.news.uni-berlin.de> (raw)
In-Reply-To: nasQa.56566$N7.7193@sccrnsc03

<tmoran@acm.org> wrote in message news:nasQa.56566$N7.7193@sccrnsc03...

> What's the best way to do something like X'Output when
> type X only has part of the story?  Say "type X is array ..."
> but X is an array of sampled signal and there's an
> associated sampling rate etc.  Making
>    type X (Rate : Positive; Length : Positive) is
>       record
>          Data : Data_Array(1 .. Length);
> would require slice assignments to/from Data and Data is
> typically large, so that's not a good solution.

Why is this (putting the array and other info into a record type) not a good
solution? What have large slices got to do with it?

--
Nick Roberts
Jabber: debater@charente.de [ICQ: 159718630]






  reply	other threads:[~2003-07-14 22:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-14  6:34 coding 'Output tmoran
2003-07-14 22:45 ` Nick Roberts [this message]
2003-07-14 23:01   ` tmoran
2003-07-15 21:23     ` Nick Roberts
replies disabled

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