comp.lang.ada
 help / color / mirror / Atom feed
From: lutz@iks-jena.de (Lutz Donnerhacke)
Subject: Re: unconstrainted arrays
Date: Thu, 18 Oct 2001 07:42:17 +0000 (UTC)
Date: 2001-10-18T07:42:17+00:00	[thread overview]
Message-ID: <slrn9st1uo.hr.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: 3BCDB1B0.52D3B04C@icn.siemens.de

* Alfred Hilscher wrote:
>My current problem is to define the record in such a way, that I can
>declare different variables like
>
>PTs_1 : s(10);
>PTs_2 : s(16);
>PTs_3 : s(24);
>PTs_4 : s(58);
>
>whereby the data must be always stored in the order X, Y, A(1), A(2) ..
>A(n). A trailing discriminant would be no problem, ...

Ada record representation clauses can't do this. But Claude's suggestion of
a generic package should solve your problem.



  reply	other threads:[~2001-10-18  7:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-17 15:18 unconstrainted arrays Alfred Hilscher
2001-10-17 15:35 ` Lutz Donnerhacke
2001-10-17 16:28   ` Alfred Hilscher
2001-10-18  7:42     ` Lutz Donnerhacke [this message]
2001-10-18 11:03       ` Rep spec still not possible Petter Fryklund
2001-10-18 12:44         ` Lutz Donnerhacke
2001-10-18 17:10           ` Jeffrey Carter
2001-10-19 13:52             ` Exactly the prblem, how do we make a known constant value static? Petter Fryklund
2001-10-20  0:04               ` James Rogers
2001-10-20  2:53               ` Jeffrey Carter
2001-10-22  8:11                 ` We still don't know how to make a " Petter Fryklund
2001-10-17 16:09 ` unconstrainted arrays Claude SIMON
replies disabled

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