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,FREEMAIL_FROM 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!f16g2000cwb.googlegroups.com!not-for-mail From: "KE" Newsgroups: comp.lang.ada Subject: Re: Char type verification Date: 15 Nov 2006 17:45:49 -0800 Organization: http://groups.google.com Message-ID: <1163641549.506872.302600@f16g2000cwb.googlegroups.com> References: <1163628033.606530.190550@i42g2000cwa.googlegroups.com> <1163639333.330603.208930@k70g2000cwa.googlegroups.com> NNTP-Posting-Host: 88.240.56.59 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1163641554 22082 127.0.0.1 (16 Nov 2006 01:45:54 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 16 Nov 2006 01:45:54 +0000 (UTC) In-Reply-To: <1163639333.330603.208930@k70g2000cwa.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: f16g2000cwb.googlegroups.com; posting-host=88.240.56.59; posting-account=SU8_Kw0AAABcLlEzcdMhoDhwaHkS8xUq Xref: g2news2.google.com comp.lang.ada:7488 Date: 2006-11-15T17:45:49-08:00 List-Id: Thank you, Mr. Rogers. jimmaureenrogers@worldnet.att.net wrote: > This is an awful piece of code because it must perform a number > of conversions between character and numeric values. In the lowly, quick-and-dirty C world, most data is an integer of one form or another, anyway, so you shouldn't be worried about that ;-] ...or at least about my "awfulness" as a coder. I appreciate your code. It's the second attempt at a solution. I was waiting for someone to define a subtype with a range, and you provided that variation. 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. Thanks again. -- KE