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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,86c750b8474bf6d5 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.germany.com!news.motzarella.org!motzarella.org!not-for-mail From: Sebastien Morand Newsgroups: comp.lang.ada Subject: Re: About String Date: Sun, 08 Jun 2008 10:29:53 +0000 Organization: A noiseless patient Spider Message-ID: <484BB4A1.1010505@gmail.com> References: <484ABED3.8040909@obry.net> <484b802a$0$23844$4f793bc4@news.tdc.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX1/v7xGMUGKwFIbd9Za1wDTjW5GmuaG4Ga+ns6aJQH+zKKrVqa3lFX4JSH3D4xr739AsjVJliOxtZToyAl0Nkjc6aOr2knpOVInS/6YjsujiB8J7VMtqBU8k1s9BKVMFzm8= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Sun, 8 Jun 2008 10:26:46 +0000 (UTC) In-Reply-To: X-Auth-Sender: U2FsdGVkX1+gjagHvplvXZoPhJu1LWO+vK6uz7phdbM= Cancel-Lock: sha1:GAYwDQYmOerfIi3jh30Vrd9GYGA= User-Agent: Thunderbird 2.0.0.12 (X11/20080406) Xref: g2news1.google.com comp.lang.ada:607 Date: 2008-06-08T10:29:53+00:00 List-Id: Thanks for all you answer. I m happy to see I did the right way. Actually not handling exception of the declaring part can be non intuitive at first. But I think it is. If you could, you wouldn't know wich data is available since you don't know where the exception take place in the declarative part. So it's better to handle it externally where you know wich variables are already defined. the only matter is that you can handle exception in declarative part of a function/procedure. So you have to declare it in subblock and then handle the exception. The problem is, if you can't anymore use the string in the body of the function, only in the subblock. Sebastien