comp.lang.ada
 help / color / mirror / Atom feed
From: "Lance" <lanceboyle@qwest.net>
Subject: Compare these two (sub)type declarations
Date: 4 Jul 2006 02:46:19 -0700
Date: 2006-07-04T02:46:19-07:00	[thread overview]
Message-ID: <1152006378.935306.287820@m79g2000cwm.googlegroups.com> (raw)

What is the difference between these two declarations?

subtype Foo is Integer;

and

type Bar is new Integer;

In fact, what _is_ the second declaration? Would variables of type Bar
not be allowed in expressions where Integers are expected?


Jerry




             reply	other threads:[~2006-07-04  9:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-04  9:46 Lance [this message]
2006-07-04 10:25 ` Compare these two (sub)type declarations Ludovic Brenta
2006-07-04 20:01   ` Lance
2006-07-04 21:13     ` spam countermeasures (was: Compare these two (sub)type declarations) Björn Persson
2006-07-05 17:42 ` Compare these two (sub)type declarations Martin Krischik
replies disabled

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