comp.lang.ada
 help / color / mirror / Atom feed
From: "Björn Persson" <spam-away@nowhere.nil>
Subject: Re: Under which category of types in the ARM do Natural and Positive fall?
Date: Mon, 13 Sep 2004 13:49:15 GMT
Date: 2004-09-13T13:49:15+00:00	[thread overview]
Message-ID: <vzh1d.103255$dP1.370452@newsc.telia.net> (raw)
In-Reply-To: <ci45sr$qes$02$1@news.t-online.com>

matthias_k wrote:

> Are those predefined Integer types? That would mean they fall under the 
> "signed" category, which doesn't make sense. However, there's only a 
> signed and modular category.
> 
> Where's the difference between Natural and Positive anyway?

Reference manual, 3.5.4(13):

subtype Natural  is Integer range 0 .. Integer'Last;
subtype Positive is Integer range 1 .. Integer'Last;

-- 
Björn Persson                              PGP key A88682FD
                    omb jor ers @sv ge.
                    r o.b n.p son eri nu




  parent reply	other threads:[~2004-09-13 13:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-13 13:04 Under which category of types in the ARM do Natural and Positive fall? matthias_k
2004-09-13 13:49 ` Peter Amey
2004-09-15 19:31   ` Under which category of types in the ARM do Natural and Positivefall? Joe Simon
2004-09-16 13:28   ` Under which category of types in the ARM do Natural and Positive fall? David C. Hoos
2004-09-16 15:40     ` Ed Falis
2004-09-16 17:53       ` Randy Brukardt
2004-09-16 18:02         ` Ed Falis
2004-09-16 23:05           ` Dale Stanbrough
2004-09-13 13:49 ` Björn Persson [this message]
2004-09-13 14:00 ` Martin Dowie
replies disabled

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