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 14:13:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!newscon02.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.com.POSTED!not-for-mail From: "Pat Rogers" Newsgroups: comp.lang.ada References: <3C5AB0B7.9D75D49A@grammatech.com> <3c639940@pull.gecm.com> <4519e058.0202080714.1bf916bb@posting.google.com> <3C65BFF4.F15A07D0@earthlink.net> <3C7324BF.996E182B@adaworks.com> Subject: Re: Refactoring and Ada X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: NNTP-Posting-Host: 208.191.180.40 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr11.news.prodigy.com 1014243144 ST000 208.191.180.40 (Wed, 20 Feb 2002 17:12:24 EST) NNTP-Posting-Date: Wed, 20 Feb 2002 17:12:24 EST Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: Q[R_PJSCOXRQRILY@BJZ\_TDFRYB@GXLN@GZ_GYO^JWTEPIB_NVUAH_[BL[\IRKIANGGJBFNJF_DOLSCENSY^U@FRFUEXR@KFXYDBPWBCDQJA@X_DCBHXR[C@\EOKCJLED_SZ@RMWYXYWE_P@\\GOIW^@SYFFSWHFIXMADO@^[ADPRPETLBJ]RDGENSKQQZN Date: Wed, 20 Feb 2002 22:12:24 GMT Xref: archiver1.google.com comp.lang.ada:20182 Date: 2002-02-20T22:12:24+00:00 List-Id: "Matthew Heaney" wrote in message news:u77p6fp1hcta76@corp.supernews.com... > > "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. Can you explain why you think that? > Therefore, 'Valid is still useless. I'm not yet convinced...