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,e90f5f63c0e8345b,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews1.google.com!postnews2.google.com!not-for-mail From: evangeli@cnam.fr (Evangelista Sami) Newsgroups: comp.lang.ada Subject: integer types and reference manual Date: 20 Jul 2004 06:41:08 -0700 Organization: http://groups.google.com Message-ID: <5f59677c.0407200541.43a6cb68@posting.google.com> NNTP-Posting-Host: 163.173.228.31 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1090330868 30862 127.0.0.1 (20 Jul 2004 13:41:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 20 Jul 2004 13:41:08 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:2273 Date: 2004-07-20T06:41:08-07:00 List-Id: 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?