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: 103376,bf564bb3bcde0817,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder2.news.jippii.net!reader1.news.jippii.net!53ab2750!not-for-mail From: Tapio Kelloniemi Subject: Renaming versus initialisation Newsgroups: comp.lang.ada Message-ID: Date: Tue, 27 Sep 2005 21:10:53 GMT NNTP-Posting-Host: 217.30.176.187 X-Complaints-To: newsmaster@saunalahti.com X-Trace: reader1.news.jippii.net 1127855453 217.30.176.187 (Wed, 28 Sep 2005 00:10:53 EEST) NNTP-Posting-Date: Wed, 28 Sep 2005 00:10:53 EEST Organization: Saunalahti Customer Xref: g2news1.google.com comp.lang.ada:5205 Date: 2005-09-27T21:10:53+00:00 List-Id: Hi Assuming the following declarations: type T is ...; function F return T is ...; I'm a bit uncertain about the difference of the following declarations: V1 : T := F; V2 : T renames F; I'd like to see an explanation of the effect of an object renaming declaration versus variable declaration and initialisation, when the object being renamed is a return value of a function. Many thanks for it. -- Tapio