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,e859f774bbb3dfb3 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!storethat.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: another way to shoot yourself in the foot? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <54157920-377a-441b-9b0b-f0c4f9ddffec@f36g2000hsa.googlegroups.com> <54435596-5e7f-4686-a2b7-1e22d7c4b186@p25g2000hsf.googlegroups.com> <483ugmvkl2ea.1hrqsq7ru4t1x$.dlg@40tude.net> <12dhu8e1w5ac9.1s9hzkf9d2rsy$.dlg@40tude.net> <21d80cc3-a3fb-49f5-a46e-6056bbef2ba7@y21g2000hsf.googlegroups.com> Date: Tue, 24 Jun 2008 09:30:17 +0200 Message-ID: <1lbujyle8itjn$.vffs9far1ob9.dlg@40tude.net> NNTP-Posting-Date: 24 Jun 2008 09:30:17 CEST NNTP-Posting-Host: e01ccf3e.newsspool2.arcor-online.net X-Trace: DXC=n@H89V@fn6HI7\_^6>c20JA9EHlD;3YcB4Fo<]lROoRA8kFOd?O:OT3YZID X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:831 Date: 2008-06-24T09:30:17+02:00 List-Id: On Mon, 23 Jun 2008 21:02:29 -0700 (PDT), george.priv@gmail.com wrote: > On Jun 23, 3:49 am, "Dmitry A. Kazakov" > wrote: >> On Sun, 22 Jun 2008 16:44:08 -0400, Robert A Duff wrote: >>> I don't see that as a problem, and anyway, the same thing can happen >>> with the existing syntax: >> >>> function Foo (...) return String is >>> begin >>> return Result : String (1..200) do -- Going to return 200 characters >>> Result (1) := 'a'; -- Here the result has to be allocated >>> if HALT (x) then >>> goto Label; >>> end if; >>> end; -- Drop already allocated and initialized result >>> <