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,99e73f65ea2533b9 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!news.osn.de!diablo2.news.osn.de!news.belwue.de!news-stu1.dfn.de!news-lei1.dfn.de!news1.uni-leipzig.de!news.uni-jena.de!news.uni-weimar.de!not-for-mail From: stefan-lucks@see-the.signature Newsgroups: comp.lang.ada Subject: Re: and then... (a curiosity) Date: Fri, 5 Sep 2008 09:00:59 +0200 Organization: Bauhaus-Universitaet Weimar Message-ID: References: <18b41828-bda4-4484-8884-ad62ce1c831d@f36g2000hsa.googlegroups.com> <57qdnfULQ9tzKCHVnZ2dnUVZ_tHinZ2d@comcast.com> <48bd0003$1@news.post.ch> <48bf90bf$0$30032$dbd4d001@news.euronet.nl> <48bffbb7$0$74166$dbd49001@news.euronet.nl> <48c039bd$0$11086$9b4e6d93@newsspool1.arcor-online.net> Reply-To: stefan-lucks@see-the.signature NNTP-Posting-Host: medsec1.medien.uni-weimar.de Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: tigger.scc.uni-weimar.de 1220593749 29043 141.54.178.228 (5 Sep 2008 05:49:09 GMT) X-Complaints-To: news@tigger.scc.uni-weimar.de NNTP-Posting-Date: Fri, 5 Sep 2008 05:49:09 +0000 (UTC) X-X-Sender: lucks@medsec1.medien.uni-weimar.de In-Reply-To: <48c039bd$0$11086$9b4e6d93@newsspool1.arcor-online.net> Xref: g2news1.google.com comp.lang.ada:1932 Date: 2008-09-05T09:00:59+02:00 List-Id: > stefan-lucks@see-the.signature wrote: > > > 1. If the A- or the B-part in "if A and B" raises an exception, but the > > other part is false, the "right thing" (TM) to do would be to transfer > > control to the else clause (or below "end if", when there is no else). > > With all due respect, professor, you are suggesting circumstances > could warrant the automatic assignment of value False to expection > occurrences? For heaven's sake, no! But "if False and Function_Call_That_Raises_An_Exception" ideally should not propagate the exception raised in the function call, but evaluate to false. -- ------ Stefan Lucks -- Bauhaus-University Weimar -- Germany ------ Stefan dot Lucks at uni minus weimar dot de ------ I love the taste of Cryptanalysis in the morning! ------