From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bfa00be8f7a5ae46,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!m79g2000cwm.googlegroups.com!not-for-mail From: "Lance" Newsgroups: comp.lang.ada Subject: Compare these two (sub)type declarations Date: 4 Jul 2006 02:46:19 -0700 Organization: http://groups.google.com Message-ID: <1152006378.935306.287820@m79g2000cwm.googlegroups.com> NNTP-Posting-Host: 63.229.83.84 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1152006382 16842 127.0.0.1 (4 Jul 2006 09:46:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 4 Jul 2006 09:46:22 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418.8 (KHTML, like Gecko) Safari/419.3,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: m79g2000cwm.googlegroups.com; posting-host=63.229.83.84; posting-account=Ax24hA0AAABV39UFqUVhb0kauOuAbI3T Xref: g2news2.google.com comp.lang.ada:5467 Date: 2006-07-04T02:46:19-07:00 List-Id: 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