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=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news.unit0.net!cyclone03.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!post01.fr7!fx20.fr7.POSTED!not-for-mail From: Brian Drummond Subject: Re: Text_IO, was: Re: Something I don't understand Newsgroups: comp.lang.ada References: <4a3e55f6-9f54-4084-9f37-96efd4b0d349@googlegroups.com> <0b358700-871b-4603-addd-65e07c7d59e5@googlegroups.com> User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: NNTP-Posting-Host: 62.49.20.82 X-Complaints-To: abuse@demon.net X-Trace: 1392983406 62.49.20.82 (Fri, 21 Feb 2014 11:50:06 UTC) NNTP-Posting-Date: Fri, 21 Feb 2014 11:50:06 UTC Date: Fri, 21 Feb 2014 11:50:06 GMT X-Received-Body-CRC: 3553039975 X-Received-Bytes: 2026 Xref: number.nntp.dca.giganews.com comp.lang.ada:185051 Date: 2014-02-21T11:50:06+00:00 List-Id: On Thu, 20 Feb 2014 01:09:27 +0000, Simon Clubley wrote: > On 2014-02-19, Jeffrey Carter > Background material on $FAO is at: > > http://h71000.www7.hp.com/doc/82final/4527/4527pro_047.html > > The table of formatting directives are at the bottom of that page. > > Of interest is the directive "!%S" which inserts either "S" or "s" if > the most recent numeric value was not one, the directive "!n%C" which > inserts a specific string if the previous numeric field value matches > the "n" condition and the "!%E" directive which inserts a string if the > previous numeric field value did _not_ match a previous "!n%C" test. > > Something like that would handle this problem rather cleanly. the best laid plans, of mouses and mans gang aft agley... - Brian