comp.lang.ada
 help / color / mirror / Atom feed
From: Frank Buss <fb@frank-buss.de>
Subject: Re: quiz for Sequential_IO Read
Date: Sun, 3 Sep 2017 14:47:54 +0200
Date: 2017-09-03T14:47:54+02:00	[thread overview]
Message-ID: <oogtlq$cbg$1@newsreader4.netcologne.de> (raw)
In-Reply-To: <oogpf5$nl7$1@dont-email.me>

On 09/03/2017 01:40 PM, Jeffrey R. Carter wrote:
> On 09/03/2017 01:01 PM, Frank Buss wrote:
>>     type Byte is range 0..255;
>
> Note that Byte is a signed type, so Byte'Base will have a range that
> includes -255

Why is it a signed type? The range says only 0..255, and in fact, I can 
write this:

type Byte is range 0..255; for Byte'Size use 8;

and it works as expected.

-- 
Frank Buss, http://www.frank-buss.de
electronics and more: http://www.youtube.com/user/frankbuss

  reply	other threads:[~2017-09-03 12:47 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-03 11:01 quiz for Sequential_IO Read Frank Buss
2017-09-03 11:40 ` Jeffrey R. Carter
2017-09-03 12:47   ` Frank Buss [this message]
2017-09-03 13:44     ` Jeffrey R. Carter
2017-09-03 15:38       ` AdaMagica
2017-09-03 12:26 ` Dmitry A. Kazakov
2017-09-03 12:43   ` Frank Buss
2017-09-03 13:11     ` Dmitry A. Kazakov
2017-09-04 19:58       ` Frank Buss
2017-09-04 20:55         ` Dmitry A. Kazakov
2017-09-04 21:51           ` Frank Buss
2017-09-05  1:54             ` Dennis Lee Bieber
2017-09-03 17:28 ` J-P. Rosen
2017-09-03 20:10   ` Frank Buss
2017-09-04  5:12     ` J-P. Rosen
2017-09-04  7:37     ` Dmitry A. Kazakov
2017-09-03 20:17   ` Dennis Lee Bieber
2017-09-04  5:14     ` J-P. Rosen
replies disabled

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