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,edafb2ab7e8839bc X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!b28g2000cwb.googlegroups.com!not-for-mail From: "jimmaureenrogers@worldnet.att.net" Newsgroups: comp.lang.ada Subject: Re: Char type verification Date: 15 Nov 2006 18:15:33 -0800 Organization: http://groups.google.com Message-ID: <1163643333.585760.255970@b28g2000cwb.googlegroups.com> References: <1163628033.606530.190550@i42g2000cwa.googlegroups.com> <1163639333.330603.208930@k70g2000cwa.googlegroups.com> <1163641549.506872.302600@f16g2000cwb.googlegroups.com> NNTP-Posting-Host: 69.170.65.169 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1163643339 27997 127.0.0.1 (16 Nov 2006 02:15:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 16 Nov 2006 02:15:39 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: b28g2000cwb.googlegroups.com; posting-host=69.170.65.169; posting-account=SqOfxAwAAAAkL81YAPGH1JdBwpUXw9ZG Xref: g2news2.google.com comp.lang.ada:7489 Date: 2006-11-15T18:15:33-08:00 List-Id: KE wrote: > Seeing how many valid - although differentially elegant and/or > efficient - Ada ways of doing this exists was my aim, though I seem not > to have quite elicited enthusiasm. I am not clear on your goals for this "competition". It appears that you want a somewhat literal translation of the C code, which is why you have rejected simply using the pre-defined Is_Upper function. The C example is particularly far away from an Ada solution that is not merely attempting to write C code using Ada. Why do you want to convert the command line input to an integer? It serves no practical purpose in Ada. Jim Rogers