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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7b5b3c67aa2a73fe X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!homer!news.glorb.com!news-spur1.glorb.com!news.glorb.com!proxad.net!proxad.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Easy question about Character manipulation Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <1170100860.762334.13830@l53g2000cwa.googlegroups.com> <45bf39fd$1@news.post.ch> Date: Tue, 30 Jan 2007 22:12:51 +0100 Message-ID: <1w9na0flf7izk.10870qhe6k9rg$.dlg@40tude.net> NNTP-Posting-Date: 30 Jan 2007 22:12:45 CET NNTP-Posting-Host: 0e0672f3.newsspool3.arcor-online.net X-Trace: DXC=0@L>;7IhlAIFJ3]dH>I?oEMcF=Q^Z^V3H4Fo<]lROoRAgUcjd<3m<;B;UoYYHPo7GG[6LHn;2LCVN[ On Tue, 30 Jan 2007 15:24:45 -0500, Robert A Duff wrote: > "Jeffrey R. Carter" writes: > >> Let me emphasize: >> >> Size : constant := 10; >> >> There's no reason for Size to be an object, much less a variable. > > I agree that it should probably be constant, but why not give it a type, > as in: > > Size : constant Integer := 10; > > I think named numbers are a kludge, and should usually be avoided. I would agree if Universal_Integer were a proper type name. Integer tells too much. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de