From mboxrd@z Thu Jan 1 00:00:00 1970 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: How can I make Reduce run from right to left? Date: Tue, 10 Dec 2024 18:57:45 +0100 Organization: Adalog Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 10 Dec 2024 18:58:07 +0100 (CET) Injection-Info: dont-email.me; posting-host="5a8156e7840624a23743f874daa686e0"; logging-data="1074178"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19+BKoEj1wU0DSC/3EKGuc5" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:tHPjfj1R4n7RCnLLbRJIqbksvuQ= Content-Language: en-US, fr In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:66484 List-Id: Le 10/12/2024 à 18:20, Brian9000 a écrit : > but the compiler won't accept "reverse" in the next-to-last line, even > though you can use it in a normal loop. The other lines compile and run > without any problems.ARM 2022/4.5.10(6/5): The iterated_element_association of a value_sequence shall not have a key_expression, nor shall it have a loop_parameter_specification that has the reserved word reverse. -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX https://www.adalog.fr https://www.adacontrol.fr