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,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4c459ff0adb576bc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-20 10:02:56 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Matthew Heaney" Newsgroups: comp.lang.ada Subject: Re: Refactoring and Ada Date: Wed, 20 Feb 2002 13:08:08 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3C5AB0B7.9D75D49A@grammatech.com> <3c639940@pull.gecm.com> <4519e058.0202080714.1bf916bb@posting.google.com> <3C65BFF4.F15A07D0@earthlink.net> <3C7324BF.996E182B@adaworks.com> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.lang.ada:20176 Date: 2002-02-20T13:08:08-05:00 List-Id: "Pat Rogers" wrote in message news:ZTQc8.51466$lT5.3914605627@newssvr30.news.prodigy.com... > Saying not to use 'Valid is too much, IMHO. Sometimes one has to get scalar > values -- not just enumerals -- from external sources, and there 'Valid can be > useful. What kinds of scalar values are you talking about? Integers? Floats? Fixed point? You should never read data from an external source into a variable whose type doesn't include all possible values for its precision. Therefore, 'Valid is still useless.