comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam@spam.com>
Subject: Re: integer types and reference manual
Date: Tue, 20 Jul 2004 18:53:15 GMT
Date: 2004-07-20T18:53:15+00:00	[thread overview]
Message-ID: <vSdLc.9521$Qu5.8063@newsread2.news.pas.earthlink.net> (raw)
In-Reply-To: <5f59677c.0407200541.43a6cb68@posting.google.com>

Evangelista Sami wrote:

> 01   procedure Test is
> 02     type U is range 1..100;
> 03     N : constant U := 100;
> 04     type T is mod N + 10;
> 05   begin
> 06      null;
> 07   end;
> 
> 1) what is the type of N + 10 ?

U'Base.

-- 
Jeff Carter
"Oh Lord, bless this thy hand grenade, that with it thou
mayst blow thine enemies to tiny bits, in thy mercy."
Monty Python and the Holy Grail
24




      parent reply	other threads:[~2004-07-20 18:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-20 13:41 integer types and reference manual Evangelista Sami
2004-07-20 14:44 ` Stephen Leake
2004-07-20 18:53 ` Jeffrey Carter [this message]
replies disabled

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