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-Thread: a07f3367d7,19b8909eebb73a8e X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!xmission!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Question on Controlled types Date: Sat, 30 May 2009 11:20:01 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: 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> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1243696802 12016 192.74.137.71 (30 May 2009 15:20:01 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sat, 30 May 2009 15:20:01 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:apRq9YDCjL5IM09IWMqJc0m2Bi4= Xref: g2news2.google.com comp.lang.ada:6123 Date: 2009-05-30T11:20:01-04:00 List-Id: 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