comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@world.std.com>
Subject: Re: *\\~record depth~//*
Date: 1999/11/16
Date: 1999-11-16T00:00:00+00:00	[thread overview]
Message-ID: <wccu2mmw06c.fsf@world.std.com> (raw)
In-Reply-To: 80s28q$71j$1@nnrp1.deja.com

Robert Dewar <robert_dewar@my-deja.com> writes:

> Best idea always make the type of the subscript explicit in
> the declaration. Either declare the subscript type, or use
> 
>   array (... range x .. y) of ...

I don't mind saying "array(x..y) of..." if x and y determine the type in
the non-confusing way (eg, maybe they're enumeration literals).  But I
never say "array (1..10) of ..." because I think the fact that it
defaults to Integer is an ugly kludge in the language design.

- Bob




  reply	other threads:[~1999-11-16  0:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-09  0:00 *\\~record depth~//* G
1999-11-08  0:00 ` Nick Roberts
1999-11-09  0:00   ` Robert Dewar
1999-11-09  0:00     ` David C. Hoos, Sr.
1999-11-09  0:00       ` Robert Dewar
1999-11-09  0:00 ` oops - same with neater formatting G
1999-11-15  0:00 ` *\\~record depth~//* Mario Amado Alves
1999-11-15  0:00   ` Matthew Heaney
1999-11-16  0:00     ` G
1999-11-16  0:00       ` Robert Dewar
1999-11-16  0:00         ` Robert A Duff [this message]
1999-11-16  0:00       ` Robert Dewar
1999-11-16  0:00       ` Robert Dewar
replies disabled

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