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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,66336b28d85a2b82,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: ANN: Strings Edit v2.5 Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH Date: Mon, 28 Jun 2010 20:56:25 +0200 Message-ID: NNTP-Posting-Date: 28 Jun 2010 20:56:24 CEST NNTP-Posting-Host: ae0e055b.newsspool4.arcor-online.net X-Trace: DXC=@f>c9EaC7L085[]]\]T0814IUK[3R=AiQ The package Strings_Edit provides I/O facilities. The following I/O items are supported by the package: - Generic axis scales support; - Integer numbers (generic, package Integer_Edit); - Integer sub- and superscript numbers; - Floating-point numbers (generic, package Float_Edit); - Roman numbers (the type Roman); - Strings; - Ada-style quoted strings; - UTF-8 encoded strings; - Unicode maps and sets; - Wildcard pattern matching. The major differences to the standard Image/Value attributes and Text_IO procedures are: - For numeric types, the base is neither written nor read. For instance, output of 23 as hexadecimal gives 17, not 16#17#. - Get procedures do not skip blank characters around input tokens, except the cases when the blank characters are required by the syntax. - Get procedures use the current string position pointer, so that they can be consequently called advancing the pointer as the tokes are recognized. - Numeric get procedures allow to specify the expected value range. When the actual value is out of the range then depending on procedure parameters, either Constraint_Error is propagated or the value is forced to the nearest range boundary. - Put procedures also use the current string position pointer, which allows to call them consequently. - The format used for floating-number output is based on the number precision, instead of rather typographic approach of Text_IO. The precision can be specified either as the number of valid digits of the current base (i.e. relative) or as the position of the last valid digit (i.e. absolute). For instance, 12.345678 with relative precision 3 gives 12.3. With absolute precision -3, it gives 12.346. The version 2.5 provides experimental Debian and Fedora packages. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de