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,e037e74567eca23d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!proxad.net!teaser.fr!not-for-mail From: Eric Jacoboni Newsgroups: comp.lang.ada Subject: Re: Question about Ada.Unchecked_Conversion Date: Fri, 29 Oct 2004 17:47:54 +0200 Organization: Rogntutdju & Associates Message-ID: References: <2uf53sF2b165eU1@uni-berlin.de> NNTP-Posting-Host: titine.scrogneugneu.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: feed.teaser.net 1099064875 87880 81.56.238.119 (29 Oct 2004 15:47:55 GMT) X-Complaints-To: abuse@teaser.fr NNTP-Posting-Date: Fri, 29 Oct 2004 15:47:55 +0000 (UTC) X-Attribution: Jaco User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (darwin) Cancel-Lock: sha1:bMgk/Sd9hkrPC/6wxB0hcNSCD7E= Xref: g2news1.google.com comp.lang.ada:5877 Date: 2004-10-29T17:47:54+02:00 List-Id: Nick Roberts writes: > It certainly is a misunderstanding! Yes, i've understood now ;) > There is another possible method, using an array that maps from > characters to a category (indicating some significance to each > character, in this case, whether it is a separator). Before various answers, i wrote a Is_Separator(C : in Character) return Boolean, which use a case construct to return true or false. But i think i'm gonna use Maps as they are more flexible. Thanks to you, to Jean-Pierre and Dmitry. -- �ric Jacoboni, n� il y a 1402508624 secondes