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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.225.138 with SMTP id rk10mr10552249obc.40.1449240205952; Fri, 04 Dec 2015 06:43:25 -0800 (PST) X-Received: by 10.183.3.106 with SMTP id bv10mr149462obd.17.1449240205872; Fri, 04 Dec 2015 06:43:25 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!mv3no9171547igc.0!news-out.google.com!l1ni532igd.0!nntp.google.com!mv3no9171543igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 4 Dec 2015 06:43:25 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=158.234.250.71; posting-account=7MKaSAoAAAB_geR0QOVTnubXji9nsHqd NNTP-Posting-Host: 158.234.250.71 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <77de5ee0-3ae1-4bad-ac44-e61619c126b0@googlegroups.com> Subject: text_io.Put_line behaviour on failure From: pettylarsony@gmail.com Injection-Date: Fri, 04 Dec 2015 14:43:25 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:28628 Date: 2015-12-04T06:43:25-08:00 List-Id: Having searched the ADA documentation and goolged extensively I cannot find any definition of how this function behaves under a failure condition or even if it can fail. Example. Text_IO.Output is re-directed to a file. The disc on which the file resides becomes full, the file is deleted, or the file is set read_only.. the first instance is the most likely case to cause a failure.. So what happens when you call Put_Line("Some arbitrary text string")?