comp.lang.ada
 help / color / mirror / Atom feed
From: evangeli@cnam.fr (Evangelista Sami)
Subject: integer types and reference manual
Date: 20 Jul 2004 06:41:08 -0700
Date: 2004-07-20T06:41:08-07:00	[thread overview]
Message-ID: <5f59677c.0407200541.43a6cb68@posting.google.com> (raw)

hello all

just two questions about this sample code :

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 ?
2) in the syntax summary of the RM there is the token
"static_expression". what is it exactly? an expression which value can
be computed at the compilation time?



             reply	other threads:[~2004-07-20 13:41 UTC|newest]

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

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