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: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: alternative elsif branch not tested Date: Fri, 23 Feb 2018 18:34:59 +0100 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <3c869714-ed23-42dd-b0de-4521733da615@googlegroups.com> <0a5bf4d8-16a5-491e-8dc3-4dad835fb6eb@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 23 Feb 2018 17:34:59 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="799a9de8a182de6c50e043f5586a96b9"; logging-data="14670"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/wHUgDkiNnjsTY2p7iMnQVaeApXWkKQ78=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 In-Reply-To: <0a5bf4d8-16a5-491e-8dc3-4dad835fb6eb@googlegroups.com> Content-Language: en-US Cancel-Lock: sha1:mBQJ+FQ0PdKByClYTuTSlr0IYbU= Xref: reader02.eternal-september.org comp.lang.ada:50602 Date: 2018-02-23T18:34:59+01:00 List-Id: On 02/23/2018 11:51 AM, Mehdi Saada wrote: > got it ! in "Argument (1)'Length /= 1 and ARGUMENT(1)(1) not in 'n'|'c'|'N'|'C'" > "and" must be "or" or else it complains only if when the TWO error cases are present... Funny. What does your fixed code do if you call it like program "" abc ? -- Jeff Carter "Strange women lying in ponds distributing swords is no basis for a system of government." Monty Python & the Holy Grail 66