comp.lang.ada
 help / color / mirror / Atom feed
From: Ken Burtch <kburtch@sympatico.ca>
Subject: Re: Variable sizes for record fields
Date: Fri, 17 Aug 2001 17:36:03 -0400
Date: 2001-08-17T17:36:03-04:00	[thread overview]
Message-ID: <3B7D8E43.A3FDBBA9@sympatico.ca> (raw)
In-Reply-To: 3B7D6E0B.19366C2A@home.com



"Warren W. Gay VE3WWG" wrote:

> Another hint :
> 
> For records that have arrays sized by discriminant(s), it is best to declare
> those arrays starting from 1. Otherwise you'll have sizing difficulties, because
> you won't be able to use an expression within the array range to compute the
> last subscript, within the range.

Nor will you be able to declare a null array using a range of 1..0.

-- 
Ken O. Burtch: System Manager in a Box / Lintel       : Pegasoft
http://www.vaxxine.com/pegasoft                       : R.R.#1
Bio: 35;Bsc,UI,Lang,Games;Toons,Elves,SF,Pizza;Xian   : Jordan Station,
ON
``````````````````````````````````````````````````````` Canada L0R 1S0



      reply	other threads:[~2001-08-17 21:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-13  6:06 C-style 'union' in Ada? Brian Catlin
2001-08-13  7:34 ` tmoran
2001-08-14  3:09 ` DuckE
2001-08-14  3:49   ` Brian Catlin
2001-08-14  7:37     ` Martin Dowie
2001-08-14  9:39       ` Ole-Hjalmar Kristensen
2001-08-14 11:49         ` Martin Dowie
2001-08-14 13:38 ` Ted Dennison
2001-08-16 22:35   ` David Brown
2001-08-17  3:14     ` Brian Catlin
2001-08-17 14:44       ` Ted Dennison
2001-08-17 16:38         ` Jeffrey Carter
2001-08-17 18:17           ` Ted Dennison
2001-08-17 18:45         ` Samuel T. Harris
2001-08-17  3:18     ` Variable sizes for record fields (was: C-style 'union' in Ada) Larry Kilgallen
2001-08-17  6:34       ` Variable sizes for record fields David Brown
2001-08-17 10:44         ` Larry Kilgallen
2001-08-17 19:18           ` Warren W. Gay VE3WWG
2001-08-17 21:36             ` Ken Burtch [this message]
replies disabled

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