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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.netcologne.de!newsfeed-fusi2.netcologne.de!newsfeed-0.progon.net!progon.net!feeder3.cambriumusenet.nl!feed.tweaknews.nl!195.238.0.231.MISMATCH!news.skynet.be!195.238.0.222.MISMATCH!newsspl501.isp.belgacom.be!tjb!not-for-mail Date: Sat, 30 May 2009 17:40:48 +0200 From: Olivier Scalbert User-Agent: Thunderbird 2.0.0.21 (X11/20090409) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Question on Controlled types References: <4a211b98$0$2862$ba620e4c@news.skynet.be> <1m6a6s5xq3hrf.1i7zbi65wq3cd$.dlg@40tude.net> <4a213fd0$0$2847$ba620e4c@news.skynet.be> <4a214769$0$2865$ba620e4c@news.skynet.be> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4a2153a4$0$2846$ba620e4c@news.skynet.be> Organization: -= Belgacom Usenet Service =- NNTP-Posting-Host: 88ece1dd.news.skynet.be X-Trace: 1243698084 news.skynet.be 2846 80.201.76.217:52672 X-Complaints-To: usenet-abuse@skynet.be Xref: g2news2.google.com comp.lang.ada:6124 Date: 2009-05-30T17:40:48+02:00 List-Id: Robert A Duff wrote: > Olivier Scalbert writes: > >> 5- I do not need this: >> Delay2 := Delay1; > > Then you probably want to make the type limited (e.g. derive from > Limited_Controlled). You also want to turn on Ada 2005 mode, so > you can do build-in-place function returns. > > - Bob Thank Bob, it starts working now ! I do not know the build-in-place function returns yet. I have just received my Barnes 2005 yesterday ... ;-) Olivier