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: a07f3367d7,a7135c0f450945a5 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,CP1252 Path: g2news1.google.com!news1.google.com!postnews.google.com!m3g2000yqf.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: Re: How to convert a string containing two hex digits to a character? Date: Sat, 9 Jan 2010 06:50:17 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <93bb3b0f-1140-4fb7-8d7e-d97af3b57aaa@m16g2000yqc.googlegroups.com> <74e3d1de-b560-442d-8190-f3285ee31b0c@f5g2000yqh.googlegroups.com> <2m4g35mnk59z$.xhxh0f7riqad.dlg@40tude.net> NNTP-Posting-Host: 77.198.58.231 Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1263048617 16307 127.0.0.1 (9 Jan 2010 14:50:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 9 Jan 2010 14:50:17 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m3g2000yqf.googlegroups.com; posting-host=77.198.58.231; posting-account=vrfdLAoAAAAauX_3XwyXEwXCWN3A1l8D User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; fr),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8686 Date: 2010-01-09T06:50:17-08:00 List-Id: On 9 jan, 12:33, "Dmitry A. Kazakov" wrote: > No. Addition is an operation (in an Abelian group) that may exist > independently on the order relation. As an example consider the complex > numbers, which is a field. As such it has addition and subtraction. > Nevertheless it lacks order, and thus there is no Complex'Pred or > Complex'Succ. And conversely, there can be an order, but no addition. > Example: String. > > The guide line should be the semantics. If it is an iteration intended, > then T'Succ is a clear favorite, just because x + 1 has nothing to do wit= h > enumeration. Unfortunately T'Succ is much too verbose, because it > unnecessarily refers to the type. Nice to read you Not =93 No =94, while True as well. Right that it is not the only way to define it. You may define the attraction as the opposite of the repulsion, or you may define the repulsion as the opposite of the attraction. In some area, you may define Pred and Succ based on =93 + =94 and =93 - =94, or in = an as good way, define + and - based on Pred and Succ. There are no Pred and Succ on reals, complexes and the likes, but their =93 + =94 and =93 - =94 are not either the same too (homonym, but different things), and that's because their =93 + =94 and =93 - =94 are not the same that they do not have a Pred and Succ. This topic is a lot attractive