comp.lang.ada
 help / color / mirror / Atom feed
From: Claude SIMON <claude.simon@setra.fr>
Subject: Re: record question
Date: Fri, 26 Oct 2001 17:50:06 +0200
Date: 2001-10-26T15:47:37+00:00	[thread overview]
Message-ID: <3BD9862D.3356B2B6@setra.fr> (raw)
In-Reply-To: PUeC7.1504$xS6.1992@www.newsranger.com

In general (when it make sense) when I declare an array, I declare a constant of
that array type with
an empty range of  any (may be empty) value. That constant is used in place of a 0
elements aggregate.

Claude Simon

Ted Dennison a �crit :

> In article <3BD96844.699A15BC@setra.fr>, Claude SIMON says...
> >The same problem arise when you want to pass an array of one element, you
> >must
> >write (1=> X).
>
> ..and for an array of 0 elements (yes, those can exist), it would be (others =>
> Whatever)  (replace "Whatever" with a placebo expression of the appropriate
> type).
>
> ---
> T.E.D.    homepage   - http://www.telepath.com/dennison/Ted/TED.html
>
> No trees were killed in the sending of this message.
> However a large number of electrons were terribly inconvenienced.




  reply	other threads:[~2001-10-26 15:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-26 13:13 record question Alfred Hilscher
2001-10-26 13:33 ` Petter Fryklund
2001-10-26 14:59   ` Ted Dennison
2001-10-26 13:42 ` Claude SIMON
2001-10-26 15:01   ` Ted Dennison
2001-10-26 15:50     ` Claude SIMON [this message]
2001-10-26 21:22 ` Richard Pinkall-Pollei
2001-10-26 23:54 ` Jeffrey Carter
replies disabled

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