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-Thread: 103376,1f78990666319a12 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!oleane.net!oleane!freenix!proxad.net!newsfeed.stueberl.de!newsr1.ipcore.viaginterkom.de!news-peer1!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: Martin Dowie Newsgroups: comp.lang.ada Subject: Re: range in ascii Date: Tue, 22 Mar 2005 17:32:01 +0000 (UTC) Organization: BT Openworld Message-ID: References: <1111505197.604268.101910@l41g2000cwc.googlegroups.com> NNTP-Posting-Host: host81-154-188-69.range81-154.btcentralplus.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: hercules.btinternet.com 1111512721 22027 81.154.188.69 (22 Mar 2005 17:32:01 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Tue, 22 Mar 2005 17:32:01 +0000 (UTC) In-Reply-To: <1111505197.604268.101910@l41g2000cwc.googlegroups.com> X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) Xref: g2news1.google.com comp.lang.ada:9741 Date: 2005-03-22T17:32:01+00:00 List-Id: mieville@mac.com wrote: > Hi all, thanks for the message regarding packages, indeed this was the > problem. > Now I have another questions, I am reading from ada a .txt file and > counting the letters/word. But counting the letters I have declared my > subtype letters is Character range 'a' .. 'z', but I also want to count > upper case letters and other ASCII char. How should I declare my range > of char. > Thanks for this help and apologies if my questions seems simple, easy > or obvious but I am starting w/ada. So read a 'Character' and then decide what it is. Cheers -- Martin