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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7be3870dd9c9518f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-15 10:24:51 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!news-out.visi.com!hermes.visi.com!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3DFCC8EC.3090800@acm.org> From: Jeffrey Carter User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: CONSTRAINT_ERROR - why? References: <3DFB7841.F898C02@t-online.de> <3DFB9276.7070809@acm.org> <3DFBB00B.230289A2@t-online.de> <3DFBD8E8.1020604@acm.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 15 Dec 2002 18:23:42 GMT NNTP-Posting-Host: 63.184.8.252 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1039976622 63.184.8.252 (Sun, 15 Dec 2002 10:23:42 PST) NNTP-Posting-Date: Sun, 15 Dec 2002 10:23:42 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:31854 Date: 2002-12-15T18:23:42+00:00 List-Id: Jeffrey Carter wrote: > > There is no "extra assignment". This is a static universal expression > and is evaluated by the compiler. Value becomes a name for the resulting > value (a "named number"). The block statement above is another way to write As pointed out elsewhere, I fell into the static trap here; 'Size is not static in this case. The general statement, that named number declarations do not create an object and impose no run-time overhead, is correct (I think :). -- Jeff Carter "I'm a lumberjack and I'm OK." Monty Python's Flying Circus