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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e8c8d1c63ffacf0d X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Constraint checking of actuals passed to Attributes Date: 2000/05/09 Message-ID: <8f9sjg$v3t$1@nnrp1.deja.com>#1/1 X-Deja-AN: 621258446 References: <391250A8.99D1585C@hotmail.com> <39171B69.2F983487@averstar.com> <8f93lm$1es$1@nnrp1.deja.com> <8f99gf$8eo$1@nnrp1.deja.com> <8f9a87$97r$1@nnrp1.deja.com> <8f9c45$be5$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x34.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue May 09 20:31:44 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-05-09T00:00:00+00:00 List-Id: In article <8f9c45$be5$1@nnrp1.deja.com>, Ted Dennison wrote: > Not having to have ever written a full Ada compiler, I'm not > as aquainted with the nuances of the meaning of "abnormal" as > it pertains to objects as many others here are. The term "abnormal" has nothing to do with Ada compilers or any other compilers, it is a term specifically coined for use in the Ada RM, and fully defined therein. > But my reading of the context of > 13.9.1("Data Validity":3-7) implies more or less just that. It > talks about objects that are "normal" having valid values for > their type. Nope, that's not careful enough reading. The whole point of this section is to distinguish abnormal from other cases where values may be outside the subtype range. An uninitialized value is NOT abnorma. That's at the heart of the discussion here, since referencing an abnormal object is for sure erroneous: 8 It is erroneous to evaluate a primary that is a name denoting an abnormal object, or to evaluate a prefix that denotes an abnormal object. But an uninitialized variable may well not have a valid value. Confused? I am not surprised. I find this whole attempt to differentiate between these two states pretty ill-defined. > So it would seem that any requirement to keep objects "normal" > means that they cannot have garbage values placed in them. > What am I missing? See above! Sent via Deja.com http://www.deja.com/ Before you buy.