Re: type and subtype
- From: "Dmitry A. Kazakov" <mailbox@xxxxxxxxxxxxxxxxx>
- Date: Sun, 24 Jul 2005 16:39:38 +0200
On 24 Jul 2005 07:24:38 -0700, Douglas Chong wrote:
> I'm a newbie in Ada 95.
> Can some one tell me what is the different between type and subtype ?
> Both are look the same for me. Thanks
"A subtype of a given type is a combination of the type, a constraint on
values of the type, and certain attributes specific to the subtype. The
given type is called the type of the subtype. Similarly, the associated
constraint is called the constraint of the subtype. The set of values of a
subtype consists of the values of its type that satisfy its constraint.
Such values belong to the subtype."
-- ARM 3.2(8)
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.
- Follow-Ups:
- Re: type and subtype
- From: Martin Krischik
- Re: type and subtype
- References:
- type and subtype
- From: Douglas Chong
- type and subtype
- Prev by Date: Simple components v2.0
- Next by Date: Re: type and subtype
- Previous by thread: type and subtype
- Next by thread: Re: type and subtype
- Index(es):
Relevant Pages
|