comp.lang.ada
 help / color / mirror / Atom feed
From: Scott Ingram <scott@silver.jhuapl.edu>
Subject: Re: Types, subtypes and ranges
Date: Mon, 12 Mar 2001 11:57:29 -0500
Date: 2001-03-12T16:57:29+00:00	[thread overview]
Message-ID: <3AACFFF9.B4C6B60D@silver.jhuapl.edu> (raw)
In-Reply-To: V4%q6.26$OG2.2999@read2.inet.fi

Anders Wirzenius wrote:

> 
> May I continue with two more questions:
> 1.
> given
> >
> >    subtype S is T range 1 .. 10;
> 
> what is the the difference between the above declaration and
> type S is new T range 1..10;

> Anders
> another beginner

subtype S belongs to type T, whereas type S is a new type
distict from type T.

and David Hoos answers your other question in a different post.

-- 
Scott Ingram
Vice-Chair, Baltimore SIGAda
Sonar Processing and Analysis Laboratory
Johns Hopkins University Applied Physics Laboratory



  parent reply	other threads:[~2001-03-12 16:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-03  1:00 Questions: WM
2001-03-03  3:30 ` Questions: Robert Love
2001-03-03 11:09 ` Questions: David C. Hoos, Sr.
2001-03-07 23:05 ` Questions: Mark Lundquist
2001-03-08  1:14   ` Questions: Robert A Duff
2001-03-12  7:41   ` Types, subtypes and ranges Anders Wirzenius
2001-03-12 11:57     ` David C. Hoos, Sr.
2001-03-12 16:06       ` Tucker Taft
2001-03-13  6:40       ` Anders Wirzenius
2001-03-12 16:57     ` Scott Ingram [this message]
2001-03-18 22:28     ` Lao Xiao Hai
2001-03-19 13:22       ` Marc A. Criley
2001-03-20 16:57         ` Lao Xiao Hai
  -- strict thread matches above, loose matches on Subject: below --
2001-03-14 13:50 Christoph Grein
replies disabled

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