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!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: syntaxic exploration Date: Wed, 20 Dec 2017 22:08:20 +0200 Organization: Tidorum Ltd Message-ID: References: <0d33e631-e63d-4346-ac95-5eec72127f4f@googlegroups.com> <0fa75dd5-599b-4a38-a5d4-3151bbe5172f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 5xNte3HJaUCdVt+5VYnftAio3CmxXnluWzEPKcXkHO8HG5e0FS Cancel-Lock: sha1:j7JiHr5Vkk+USahYi5d4pHWNUiY= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 In-Reply-To: <0fa75dd5-599b-4a38-a5d4-3151bbe5172f@googlegroups.com> Xref: reader02.eternal-september.org comp.lang.ada:49553 Date: 2017-12-20T22:08:20+02:00 List-Id: On 17-12-20 19:32 , Mehdi Saada wrote: > Hum, how do I write a array component with one element ? To write an array aggregate with one component, you must use the "named aggrage" form and define the index as well as the value, as in (1 => Xxx) where "1" is the index and "Xxx" is the component value for this index. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .