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!m7g2000cwm.googlegroups.com!not-for-mail From: "Steve Whalen" Newsgroups: comp.lang.ada Subject: Re: Char type verification Date: 15 Nov 2006 18:42:07 -0800 Organization: http://groups.google.com Message-ID: <1163644927.009095.172870@m7g2000cwm.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.41.132.226 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1163644932 14558 127.0.0.1 (16 Nov 2006 02:42:12 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 16 Nov 2006 02:42:12 +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: m7g2000cwm.googlegroups.com; posting-host=69.41.132.226; posting-account=GBMmzA0AAABrZ0dHOASa3b2Cdf-RliH9 Xref: g2news2.google.com comp.lang.ada:7490 Date: 2006-11-15T18:42:07-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. ... Have you looked at the GNAT source code? If you look into the routines inside GNAT that implement some of the functions discussed, you should find a bunch of code that you can learn from. The fact that that code is sitting there and implements some routines very much like the one(s) you were asking about, may have dampned enthusiam for people to spend time creating specific examples for you. I've found GNAT source code generally to be a really good source of "how things can be done in Ada"... And there is a LOT of it, so just browsing around in it is interesting. Steve