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: Sat, 30 Oct 2004 19:18:23 +0200 Organization: Rogntutdju & Associates Message-ID: References: <2uf53sF2b165eU1@uni-berlin.de> <35f054ea.0410300223.773b722b@posting.google.com> <2uhtslF2bkb2mU1@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 1099156707 60339 81.56.238.119 (30 Oct 2004 17:18:27 GMT) X-Complaints-To: abuse@teaser.fr NNTP-Posting-Date: Sat, 30 Oct 2004 17:18:27 +0000 (UTC) X-Attribution: Jaco User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (darwin) Cancel-Lock: sha1:7aiNhfNyfbRw5I3Tvpkf8thqkGc= Xref: g2news1.google.com comp.lang.ada:5921 Date: 2004-10-30T19:18:23+02:00 List-Id: Nick Roberts writes: > type Character_Category is > ( Ignore, Separator, Operator, Symbolic, [and so on] ); > > Cat_Of: constant array (Character) of Character_Category := > ( ',' | ';' | ':' | '(' | ')' => Separator, > '+' | '-' | '*' | '/' => Operator, > [and so on], > others => Ignore ); > > if Cat_Of(Char) = Separator then Oh yes, that's a fine trick, too. Thanks. -- �ric Jacoboni, n� il y a 1402600607 secondes